Home Forums Chart Support CORS error when testing demos from a file Reply To: CORS error when testing demos from a file

#27082

@shaping,

For security reasons, browsers restrict cross-origin requests. Serving JSON file from local webserver and making an AJAX call to it or serving it from CORS enabled JSON hosting service like myjson.com should work fine. Please take a look at this JSFiddle.


Vishwas R
Team CanvasJS