Plugin works fine on drawing using the standard "config" but Im updating the chart data set after the initial draw
for (var index = 0; index < 12; ++index) {
window.myLine.data.datasets[0].data[index] = newdata[index+12];
}
window.myLine.update();
But the trendline disappears? - Ive done some tracing and the data is entering the plugin - but hte Y scale always comes out as a negative - so I presume its drawing off canvas?
Plugin works fine on drawing using the standard "config" but Im updating the chart data set after the initial draw
But the trendline disappears? - Ive done some tracing and the data is entering the plugin - but hte Y scale always comes out as a negative - so I presume its drawing off canvas?