Home forums Using CanvasJS How to create a line Graph with two lines Reply To: How to create a line Graph with two lines

#15520

Bivek Singh
Moderator

@pieter

dataPoints is an array of objects but you seem to be pushing arrays of dataPoints values. You need to format your data according to the format required by canvasJS.

—-
Bivek Singh,
Team CanvasJS