Home › forums › Using CanvasJS › Dynamic length of datapoints
Tagged: csvfile, dataPoints
Hi, I’m a novice trying to create a graph using data from CSV. I put in some code after looking through the forums and the examples.
Apologies if the code is bad or not optimized.
My CSV data looks like this :
Code is saved in below link
The number of CSV columns are not always same so is there a way to loop columns instead of pre-defining it so that the html is flexible on the CSV given?
Please take a look at this JSFiddle for an example on rendering chart using data from a CSV file based on the range of the data.
thanks a ton. it works!!
You must be logged in to reply to this topic.