Home Forums Chart Support Cannot pass dataPoints.push() from string Reply To: Cannot pass dataPoints.push() from string

#15335

@jhair01,

The dataPoints that you’re pushing into data is a string which should be an array of objects. You can change the string of dataPoints to array of objects and assign it directly to dataPoints of chart. Please, take a look at this JSFiddle.
column chart with date time axis

—-
Bivek Singh,
Team CanvasJS