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.


AttributeTypeInfo
delayNumeric

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

5 | 10 | ...

effectNumeric

Sets the type of animation effect.

ANIMATION_FADE_IN | ANIMATION_EXPAND_VERTICAL | 1 | 2 | ...

methodNumeric

Sets the method used for each animation effect.

ANIMATION_LINEAR | ANIMATION_BACK_EASE_OUT | 0 | 1 | ...

on-change
onChange
Boolean

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
onLegendToggle
Boolean

Determines whether or not animation occurs when users toggle legend items on and off. Note that in the "legend" object, the "toggle-action" attribute must be set to "remove".

true (default) | false | 1 | 0

sequenceNumeric

Determines animation groups.

ANIMATION_NO_SEQUENCE | ANIMATION_BY_PLOT | 0 | 1 | ...

speedNumeric

Sets the length of the animation in milliseconds.

ANIMATION_SLOW | ANIMATION_FAST | 1000 | 4000 | ...

Effect (Numeric)

Sets the type of animation effect.

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

Method (Numeric)

Sets the method used for each animation effect.

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

sequence (numeric)

Determines animation groups.

Numeric CodeString Name
0ANIMATION_NO_SEQUENCE
1ANIMATION_BY_PLOT
2ANIMATION_BY_NODE
3ANIMATION_BY_PLOT_AND_NODE

speed (numeric)

Sets the length of the animation in milliseconds.

String NameEquivalent Speed (in Milliseconds)
ANIMATION_SLOW4000
ANIMATION_FAST1000