File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11{
22 "name" : " data-forge-plot" ,
3- "version" : " 0.4.0 " ,
3+ "version" : " 0.4.1 " ,
44 "description" : " Plotting API for use with Data-Forge." ,
55 "main" : " build/index.js" ,
66 "types" : " build/index.d.ts" ,
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ const DEFAULT_CHART_PACKAGE = "@data-forge-plot/apex";
1616//
1717// TODO :export let globalChartRenderer: IChartRenderer | null = null;
1818
19- async function findChartTemplatePath ( ) : Promise < string > {
19+ export async function findChartTemplatePath ( ) : Promise < string > {
2020 const defaultTemplatePath = require . resolve ( `${ DEFAULT_CHART_PACKAGE } /build/template/template.json` ) ;
2121 const chartTemplatesPath = path . dirname ( defaultTemplatePath ) ;
2222 return chartTemplatesPath ;
@@ -38,34 +38,6 @@ export async function endPlot(): Promise<void> {
3838 */
3939}
4040
41- /**
42- * Options for image rendering.
43- */
44- export interface IRenderOptions {
45- /**
46- * Open the image in your default image viewer.
47- */
48- openImage ?: boolean ;
49-
50- /**
51- * Path to electron, so that electron can be installed separately to a different location and shared
52- * between the various packages that need it.
53- *
54- * Electron is used to render charts and capture them to images.
55- */
56- electronPath ?: string ;
57-
58- /**
59- * Name of the template used to render the image.
60- */
61- template ?: string ;
62-
63- /**
64- * Set to true to show the chart definition after expansion and also after formatting.
65- */
66- showChartDef ?: boolean ;
67- }
68-
6941/**
7042 * Options for exporting web projects for interactive charts.
7143 */
You can’t perform that action at this time.
0 commit comments