To animate chart series, add the Animation plugin to the Chart component.
Import the Animation plugin.
The following example shows how series are animated on data update:
Use the Animation
plugin's duration
and easing
properties to specify the animation's duration and easing type.
In the following code, the easing implementation is taken from the d3
library: