Home › forums › Using CanvasJS › Creating Charts from CSV Please help
Tagged: Creating Charts from CSV
This topic contains 1 reply, has 2 voices, and was last updated by Vishwas R 1 year, 9 months ago.
Creating Charts from CSV followed the link
Creating Charts from CSV
Steps 1. Open Notepad and created a data.csv file in f:\ with the following data
2. Try it Yourself by Editing the Code below.
Copied the code and created in f:\ CanvasJSCsv.html
3. Open the file using Google Crome browser as file:///F:/CanvasJSCsv.html
4. No result Press Ctrl+Shift+I
5. Found the following Error
CanvasJSCsv.html:1 XMLHttpRequest cannot load https://canvasjs.com/services/data/datapoints.php?xstart=5&ystart=10&length=10&type=csv. No ‘Access-Control-Allow-Origin’ header is present on the requested resource. Origin ‘null’ is therefore not allowed access.
For security reasons, browsers restrict cross-origin requests. Please refer stackOverflow for more information.
You must be logged in to reply to this topic.