Home › forums › Using CanvasJS › Load Local CSV File
This topic contains 1 reply, has 2 voices, and was last updated by Shashi Ranjan 3 weeks, 3 days ago.
I am trying to load a file that I have saved locally from my PC. Do I still have to use this get function or is there another way?
For security reasons, browsers restrict reading local CSV files and cross-origin requests. Please refer to this StackOverflow post for more information. Serving CSV file from a local web server and making an AJAX call to it or serving it from CORS enabled CSV hosting should work fine in this case.
You must be logged in to reply to this topic.