@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.
—
Vishwas R
Team CanvasJS