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

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Indranil Deo 8 months, 3 weeks ago.

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

    likith
    Member

    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.

    #18962

    Indranil Deo
    Member

    @likith,

    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.