Home Forums Feature Requests & Feedback How to loading data with AJAX Calls

How to loading data with AJAX Calls

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

    I have created a graph http://nrb.org.np/fxm/forex_graph.php but the data to be loaded is quite large. SO I wish the functionality of loading indepth data when the user zooms the area by pinching. Is there any way to load data dynamically via ajax on Zoom in/out events?
    Thanks.

    #10600

    Hi,

    Please take a look at this documentation page for step by step tutorial for creating chart using data from AJAX. You can also check out this JSFiddle for an example on loading data with AJAX calls. To load data dynamically on zoom, you can update the chart options/data by setting e.chart.options on rangeChanging event.

    Rendering Chart from External JSON File using AJAX

    —-
    Sanjoy Debnath
    Team CanvasJS

    • This reply was modified 8 years, 6 months ago by Sanjoy.
    • This reply was modified 3 years, 8 months ago by Manoj Mohan.
Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.