File tree Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Expand file tree Collapse file tree 2 files changed +2
-30
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " data-forge-plot" ,
3
- "version" : " 0.4.0 " ,
3
+ "version" : " 0.4.1 " ,
4
4
"description" : " Plotting API for use with Data-Forge." ,
5
5
"main" : " build/index.js" ,
6
6
"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";
16
16
//
17
17
// TODO :export let globalChartRenderer: IChartRenderer | null = null;
18
18
19
- async function findChartTemplatePath ( ) : Promise < string > {
19
+ export async function findChartTemplatePath ( ) : Promise < string > {
20
20
const defaultTemplatePath = require . resolve ( `${ DEFAULT_CHART_PACKAGE } /build/template/template.json` ) ;
21
21
const chartTemplatesPath = path . dirname ( defaultTemplatePath ) ;
22
22
return chartTemplatesPath ;
@@ -38,34 +38,6 @@ export async function endPlot(): Promise<void> {
38
38
*/
39
39
}
40
40
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
-
69
41
/**
70
42
* Options for exporting web projects for interactive charts.
71
43
*/
You can’t perform that action at this time.
0 commit comments