graph » series » animation

animation

[ root » graph » series » animation]

Controls chart animation on initialization and refresh. When using effects, methods, and sequences, you can use the numeric code or string name. When using the string name, remember that you must prefix the string with ANIMATION_ (e.g., ANIMATION_BACK_EASE_OUT). Refer to the Animation Tutorial for more information.




AttributeTypeDescription
delayNumberSets the delay in milliseconds between each step of the animation or seconds if specify single digit number.
Default Value: 0
effectNumber, StringSets the animation effect.
Accepted Values: [`${string}`, 'ANIMATION_FADE_IN', 'ANIMATION_EXPAND_VERTICAL', 'ANIMATION_EXPAND_TOP', 'ANIMATION_EXPAND_BOTTOM', 'ANIMATION_EXPAND_LEFT', 'ANIMATION_EXPAND_RIGHT', 'ANIMATION_EXPAND_HORIZONTAL', 'ANIMATION_SLIDE_LEFT', 'ANIMATION_SLIDE_RIGHT', 'ANIMATION_SLIDE_TOP', 'ANIMATION_SLIDE_BOTTOM', 'ANIMATION_UNFOLD_HORIZONTAL', 'ANIMATION_UNFOLD_VERTICAL']
Default Value: 0
methodNumber, StringSets the method used for each animation effect.
Accepted Values: [`${string}`, 'ANIMATION_LINEAR', 'ANIMATION_BACK_EASE_OUT', 'ANIMATION_ELASTIC_EASE_OUT', 'ANIMATION_BOUNCE_EASE_OUT', 'ANIMATION_STRONG_EASE_OUT', 'ANIMATION_REGULAR_EASE_OUT']
Default Value: 0
onLegendToggle
on-legend-toggle
BooleanEnables toggling animation for legend.
sequenceNumber, StringDetermines animation groups.
Accepted Values: [`${string}`, 'ANIMATION_NO_SEQUENCE', 'ANIMATION_BY_PLOT', 'ANIMATION_BY_NODE', 'ANIMATION_BY_PLOT_AND_NODE']
Default Value: 0
speedNumber, StringSets the length of the animation in milliseconds or seconds if specify single digit number.
Default Value: 0.6