Home forums Chart Support fetching datapoints from server on zoom

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

    I am trying to implement CanvasJS chart in my angular app.
    My chart data holds too many points to be loaded at one time, therefore I’ve implemented an service on my back end which return only 1000 points for each selected range.
    The problem is I cannot update the dataPoints inside the “rangeChanging” function with a data I fetch asynchronously.
    Is it even possible?




    Updating dataPoints on rangeChanging event seems to be working fine. Please take a look at this JSFiddle which shows filtering dataPoints based on zoom-level.

    If you are still facing the issue kindly share JSFiddle that reproduces the issue you are facing, so that we can look into code, understand the scenario and help you out.

    Vishwas R
    Team CanvasJS

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

You must be logged in to reply to this topic.