Search code examples
javascripthtml5-canvascanvasjs

How to re-render canvasjs chart with animation?


So far I've been successfully updating the data for the my chart following the guide in this link.

However, how can do re-render it but with the same animation when it was first rendered?


Solution

  • It's somehow a hack and I know it shouldn't be this way but the only solution I found was to reinitialize the creation of the chart just to achieve that animation.