Home Forums Chart Support callback function for render

callback function for render

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

    Is there a way to have a function called after a chart render is complete? Some renders can take a while so it would be nice to trigger something when complete, thanks

    #9948

    @foggy,

    As of now, we don’t have a function that is triggered when the render is complete. But given that all dataPoints in chart are rendered at once after calling chart.render() & CanvasJS can render hundreds of thousands of dataPoints in few hundred milliseconds, so you will have no issue calling a function after calling chart.render().

    CanvasJS performance demo chart

    In case you are still facing the issue, can you create JSFiddle reproducing the issue, so that we can look into the code, run it locally to understand the scenario better and help you out?


    Sanjoy
    Team CanvasJS

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

You must be logged in to reply to this topic.