Data Manipulation Events

modify

Dispatches when ZingChart is modified via the modify API call.

AttributeTypeInfo

data

Object

The new configuration data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

object

String

The object to modify if set in the API call.

node_add

Dispatches when the user adds a node.

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

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

key

Mixed

The node's key.

nodeindex

Numeric

The index of the node.

0 | 8 | 20 | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

text

String

The string representation of the node value.

value

Numeric

The node value.

node_remove

Dispatches when the user removes a node.

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

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

key

Mixed

The node's key.

nodeindex

Numeric

The index of the node.

0 | 8 | 20 | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

text

String

The string representation of the node value.

value

Numeric

The node value.

plot_add

Dispatches when a plot is added to the graph.

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

data

Object

The new configuration data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

plot_modify

Dispatches when a plot is modified.

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

data

Object

The new configuration data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

plot_remove

Dispatches when a plot is removed.

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

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

reload

Dispatches when the chart is reloaded.

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

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

setdata

Dispatches when the setdata API function is called.

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

data

Object

The new configuration data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...