Home Forums Chart Support JavaScript Bubble Charts – JSON FILE

JavaScript Bubble Charts – JSON FILE

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

    heyy,

    so i have an json file with the data that i want to show up on the chart,
    the question is:
    how can i load my local json file on the data field.
    Thank you very much

    #20890

    @patricia.a.lopes1,

    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. Please take a look at this tutorial on rendering charts from JSON API using AJAX.

    __
    Priyanka M S
    Team CanvasJS

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

You must be logged in to reply to this topic.