Tagged: json file
This topic contains 1 reply, has 2 voices, and was last updated by Priyanka M S 1 year ago.
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
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
You must be logged in to reply to this topic.