What is the reason of this error: *newData_0 is not defined ?*
code
for (y = 0; y < 2; y++) {
var newData_i = [];
for (var i = 0; i < 10; i++) {
newData_i.push(null);
}
newData_i;
}
chart1.addSeries('xxx', newData_0, { //error
//stuff
});
thanks
You probably meant to type
newData_iinstead.