Home › forums › Using CanvasJS › Creating line graph from array of coordinates
This topic contains 1 reply, has 2 voices, and was last updated by Indranil Deo 1 year, 1 month ago.
I’m trying to create a line graph from two arrays, one containing x-coordinates, and one containing y-coordinates. Can anyone show an example of how to do this?
I’ve been trying to adapt the for loop to create random points in the stress test graphs but can’t get anything to work so far, any help would be appreciated. Thanks.
Please take a look at this example to populate chart using arrays.
You must be logged in to reply to this topic.