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.


AttributeTypeInfo
delayNumeric

Sets the delay in milliseconds between each step of the animation.

5 | 10 | ...

on-changeBoolean

Determines whether or not animation occurs when a change is made to the chart via an API event (e.g., adding node, adding plot, removing node).

true (default) | false | 1 | 0

on-legend-toggle
effectNumeric

Sets the animation effect.

Numeric CodeString Name
1`ANIMGATION_FADE_IN`
2`ANIMATION_EXPAND_VERTICAL`
3`ANIMATION_EXPAND_TOP`
4`ANIMATION_EXPAND_BOTTOM`
5`ANIMGATION_FADE_IN`
6`ANIMATION_EXPAND_RIGHT`
7`ANIMATION_EXPAND_HORIZONTAL`
8`ANIMATION_SLIDE_LEFT`
9`ANIMATION_SLIDE_RIGHT`
10`ANIMATION_SLIDE_TOP`
11`ANIMATION_SLIDE_BOTTOM`
12`ANIMATION_UNFOLD_HORIZONTAL`
13`ANIMATION_UNFOLD_VERTICAL`

ANIMATION_FADE_IN \| ANIMATION_EXPAND_VERTICAL \| 1 \| 2 \| ...

methodNumeric

Sets the method used for each animation effect.

Numeric CodeString Name
0`ANIMATION_LINEAR`
1`ANIMATION_BACK_EASE_OUT`
2`ANIMATION_EXPAND_VERTICAL`
3`ANIMATION_BOUNCE_EASE_OUT`
4`ANIMATION_STRONG_EASE_OUT`
5`ANIMATION_REGULAR_EASE_OUT`

ANIMATION_LINEAR \| ANIMATION_BACK_EASE_OUT \| 0 \| 1 \| ...

sequenceNumeric

Determines animation groups.

Numeric CodeString Name
0`ANIMATION_NO_SEQUENCE`
1`ANIMATION_BY_PLOT`
2`ANIMATION_BY_NODE`
3`ANIMATION_BY_PLOT_AND_NODE`

ANIMATION_NO_SEQUENCE \| ANIMATION_BY_PLOT \| 0 \| 1 \| ...

speedNumeric

Sets the length of the animation in milliseconds.

String NameEquivalent Speed (in Milliseconds)
`ANIMATION_SLOW`4000
`ANIMATION_FAST`1000

ANIMATION_SLOW \| ANIMATION_FAST \| 1000 \| 4000 \| ...