Chartjs-How to load page containing Chart.js using jQuery

0đź‘Ť

âś…

Turns out the issue was not with Chart.js but with jQuery restricting pages that “are not on my server”. The page that was to be loaded (that contained the chart) used file_get_contents() in PHP to load some external JSON data which was located on another server. I guess my browser was somehow recognizing that data was loaded from an “external” server and did not allow the data to display.

Leave a comment