Home forums Using CanvasJS callback function for render

Tagged: 

This topic contains 1 reply, has 2 voices, and was last updated by  Sanjoy 9 months ago.

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

    Foggy
    Member

    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

    Sanjoy
    Moderator

    Foggy,

    We don’t have any trigger like that as of now. But given that all dataPoints in chart are rendered at once after calling chart.render() & CanvasJS is able to render hundreds of thousands of dataPoints in few hundred milliseconds, so you will have no issue calling a function after calling chart.render().

    In case if the issue still persists and rendering is getting delayed, could you please recreate the issue in jsfiddle, so that we can look into it properly and come up with a solution.

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

You must be logged in to reply to this topic.