Animation Events

animation_end

Dispatches when the animation ends.

AttributeTypeInfo

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

animation_start

Dispatches when the animation starts.

A ZingChart Embedded Demohttps://app.zingsoft.com/demos/embed/Q7X0UN4I
AttributeTypeInfo

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

animation_step

Dispatches on every step of the animation, for every plot/node.

A ZingChart Embedded Demohttps://app.zingsoft.com/demos/embed/231W9KUI
AttributeTypeInfo

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

nodeindex

Numeric

The index of the node.

0 | 8 | 20 | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

stage

Numeric

The "position" in the animation timeline. It starts from 0 and ends as 1 but for several animation methods, intermediate values can exceed 1.

0 | 0.45 | 1.04 | ...

value

Numeric

The node value.