Home forums Chart Support chart.options.data.push() error Reply To: chart.options.data.push() error



DataSeries is an object where you can define all the dataPoints to be plotted and also control various properties like type, color, events, etc. It seems that you are passing dataSeries as a string instead of an object. Passing it as an object should work fine in your case. Please take a look at this updated JSFiddle.

Manoj Mohan
Team CanvasJS