Home forums Using CanvasJS import csv into canvasJS Reply To: import csv into canvasJS


Vishwas R


As x-value stored in CSV is data-time, it should be parsed to date object than to float x: parseFloat(points[0]),. Changing it to x: new Date(points[0]), should work fine in your case. Please check this jsfiddle for rendering chart with data-time from CSV.

Vishwas R
Team CanvasJS