diff --git a/about/help_en b/about/help_en index 522151f..ec297b4 100644 --- a/about/help_en +++ b/about/help_en @@ -184,6 +184,48 @@ Location of this directory is on Windows: "C:/Users/<USER>/AppData/Roaming core.log(JSON.stringify(profile));
var button = core.question("Apply to all files?", ["yes", "no"]);
+
+var chart = {
+ "title": "Chart title", // Title that will show on top of chart
+ "legend":
+ {
+ "visible": true,// default is true
+ "align": "left" // allowed values are "top", "right", "bottom", "left". default is "top"
+ },
+ "series":[ // array of data series
+ {
+ "title": "HFR",
+ "type": "bar", // type of the serie. Can be one of "line", "points", "linePoints", "bar"
+ "y":[2.5,3.1,2.6,2.2] // array of values
+ },
+ {
+ "title": "Ecc",
+ "y":[0.37, 0.4, 0.35, 0.25],
+ "color": "red" // color of serie. It can be name of color like "green" or RGB hex value "#ccddff"
+ },
+ {
+ "title": "Stars",
+ "type": "points", // type of serie. can be "line", "points", "linePoints" and "bar". Default is "line"
+ "shape": "star", // shape of markers. valid only for points
+ "x":[1, 2.5, 3.5, 6],// line, points and linePoints can also have "x" values. Otherwise it assume sequence 0,1,2 ...
+ "y":[523,412,487,510],
+ "y2": true, // if set to true this serie will use secondary Y axis
+ "bestFit": true, // show best fit line
+ "color": "#0000ff"
+ }
+ ]
+};
+
+core.plot(chart);
+
+var profile = core.getSolverProfile(); +core.log(JSON.stringify(profile));
var button = core.question("Apply to all files?", ["yes", "no"]);
+
+var chart = {
+ "title": "Chart title", // Title that will show on top of chart
+ "legend":
+ {
+ "visible": true,// default is true
+ "align": "left" // allowed values are "top", "right", "bottom", "left". default is "top"
+ },
+ "series":[ // array of data series
+ {
+ "title": "HFR",
+ "type": "bar", // type of the serie. Can be one of "line", "points", "linePoints", "bar"
+ "y":[2.5,3.1,2.6,2.2] // array of values
+ },
+ {
+ "title": "Ecc",
+ "y":[0.37, 0.4, 0.35, 0.25],
+ "color": "red" // color of serie. It can be name of color like "green" or RGB hex value "#ccddff"
+ },
+ {
+ "title": "Stars",
+ "type": "points", // type of serie. can be "line", "points", "linePoints" and "bar". Default is "line"
+ "shape": "star", // shape of markers. valid only for points
+ "x":[1, 2.5, 3.5, 6],// line, points and linePoints can also have "x" values. Otherwise it assume sequence 0,1,2 ...
+ "y":[523,412,487,510],
+ "y2": true, // if set to true this serie will use secondary Y axis
+ "bestFit": true, // show best fit line
+ "color": "#0000ff"
+ }
+ ]
+};
+
+core.plot(chart);
+
+var profile = core.getSolverProfile(); +core.log(JSON.stringify(profile));
var button = core.question("Apply to all files?", ["yes", "no"]);
+
+var chart = {
+ "title": "Chart title", // Title that will show on top of chart
+ "legend":
+ {
+ "visible": true,// default is true
+ "align": "left" // allowed values are "top", "right", "bottom", "left". default is "top"
+ },
+ "series":[ // array of data series
+ {
+ "title": "HFR",
+ "type": "bar", // type of the serie. Can be one of "line", "points", "linePoints", "bar"
+ "y":[2.5,3.1,2.6,2.2] // array of values
+ },
+ {
+ "title": "Ecc",
+ "y":[0.37, 0.4, 0.35, 0.25],
+ "color": "red" // color of serie. It can be name of color like "green" or RGB hex value "#ccddff"
+ },
+ {
+ "title": "Stars",
+ "type": "points", // type of serie. can be "line", "points", "linePoints" and "bar". Default is "line"
+ "shape": "star", // shape of markers. valid only for points
+ "x":[1, 2.5, 3.5, 6],// line, points and linePoints can also have "x" values. Otherwise it assume sequence 0,1,2 ...
+ "y":[523,412,487,510],
+ "y2": true, // if set to true this serie will use secondary Y axis
+ "bestFit": true, // show best fit line
+ "color": "#0000ff"
+ }
+ ]
+};
+
+core.plot(chart);
+
+