graph » plot » animation
animation
[ root » graph » plot » 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.
Attribute | Type | Description |
---|---|---|
delay | Number | Sets the delay in milliseconds between each step of the animation or seconds if specify single digit number. Default Value: 0 |
effect | Number, String | Sets 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 |
method | Number, String | Sets 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 | Boolean | Enables toggling animation for legend. |
sequence | Number, String | Determines animation groups. Accepted Values: [`${string}`, 'ANIMATION_NO_SEQUENCE', 'ANIMATION_BY_PLOT', 'ANIMATION_BY_NODE', 'ANIMATION_BY_PLOT_AND_NODE'] Default Value: 0 |
speed | Number, String | Sets the length of the animation in milliseconds or seconds if specify single digit number. Default Value: 0.6 |