Hello Guys and Girls!
I am new to this chart thing and I have a problem… I want to create a chart with multiple Y axes from a CSX chart ((ex line: Latvia, 312, 312)( or from another csv file: (1, Belgium, “1012,8”, “1007,8”, “1013,7”, “999,4”, “1022,8”, “1034,4”, “1043,6”, “1067,3”, “1072,0”, “1111,0”, “1073,8”)).
I really don’t know to get each line in another y-axe :-(.
var points;
var csvLines = csv.split(/[\r?\n|\r|\n]+/);
for (var i = 1; i < csvLines.length; i++) {
if (csvLines[i].length > 0) {
points = csvLines[i].split(“,”);
dataPoints.push({
label: points[0],
y: parseFloat(points[1])
Is only what I got but is it possible to parseFloat this into new y axes? for ex y2:parsefloat…
Anyway thanks! And have a nice day!
-
This topic was modified 3 years, 8 months ago by egroj.