Thanks Shashi Ranjan !
I am a bit confused with your answer about impossibility to load CSV data from the local machine unless it’s served from a local web server. I found this code in “http://jsfiddle.net/3hmee6vb/3/” . With this code is possible to load CSV data from local machine. I suppose it is possible to use those data with CanvasJS ? I am sorry if my question is not appropriate.
Indranil Deo, if I use the code from yours document “Creating Charts from CSV” I can download a file from “https://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=csv” (https in yours code) and I get the file named “dataPoints.csv”. My question is : how can I use the file dataPoints.csv directly in this code but without $.get(“https://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=csv” … ?
Thank You Vishwas R. – it is helping me a lot.
Sorry, it is not the question for CanvasJS ! It is my ignorance in JavaScript.Problem solved with JavaScript Closures.