Home Forums Chart Support fetching data from csv Reply To: fetching data from csv

#17625

James,

Can you please explain what do you mean by the columns between 4 – 8?

Since each line in your CSV is in the format:
["11/13/2017 00:10:00", "0", "69.8", "1.53", "0", "0.0", "0.0", ""] you can access the columns between 4 & 8 i.e. columns 5, 6, & 7 by accessing the array elements points[4], points[5] & point[6] respectively. But in your CSV data all these columns are zero.

Also x: parseFloat(points[0]) won’t work as expected as the first element in the array of your CSV data is a date-time value.

Please create a jsfiddle and brief us more about your requirement so that understand you requirement better and help you out.

___________
Indranil Deo,
Team CanvasJS