Home forums Feature Requests & Feedback opening json file in the browser


Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #18955

    how do i open a json file on my computer?.I am not even able to get the output when i add json file while doing charts.Can you please help me with that.



    You can’t make AJAX requests to the local filesystem due to security issue. As a workaround, you can store the file on a local webserver and make an AJAX call to it or you can store the JSON in CORS enabled JSON hosting service like myjson.com.

    Indranil Deo,
    Team CanvasJS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.