Home Forums Chart Support Synchronized Charts Data format Reply To: Synchronized Charts Data format

#33419

@zenoechozz,

You can pass dataPoints to the chart as [{x: 1, y: 10}, {x: 2, y: 20},...}. Please refer this documentation page for more information on the data format accepted by CanvasJS.

Also please refer to the code available in the Gallery page for an example on reading data for multiple charts from single JSON file.
JavaScript Synchronized Charts


Vishwas R
Team CanvasJS