Home forums Using CanvasJS Live Updating Charts from JSON API & AJAX Reply To: Live Updating Charts from JSON API & AJAX

#26682

@gmulligan

For security reasons, cross-origin requests are restricted by browsers. JSONP allows you to sidestep the cross-origin requests. To access JSON from a different domain, you can refer to JSONP. Please take a look at this JSFiddle that creates a line chart from AJAX & JSONP.

—-
Manoj Mohan
Team CanvasJS