Home Forums Chart Support Animation while rerendering the chart

Animation while rerendering the chart

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

    I am using react and the canvasjs chart is showing animation on the initial render if i handle combination chart with state and pass different data set with another type chart when i handle it with some button click. It don’t show any animation into it even if animationEnabled is true.

    #44318

    @abhishek1177,

    Chart animates only on the first render, as of now. Hence, it doesn’t animate when you change the chart-options / type & re-render. However, you can destroy and re-create the chart on each render with updated options as shown in this example.

    __
    Sachin Bisht
    Team CanvasJS

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

You must be logged in to reply to this topic.