Plot Events

plot_add

Dispatches when a plot is added to the graph.

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_click

Dispatches when the user clicks a plot.

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

ev

Object

The event object, containing other possibly valuable data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotid

String

The id of the plot (if any).

"mylineplot" | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

plot_doubleclick

Dispatches when the user double clicks a plot.

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

ev

Object

The event object, containing other possibly valuable data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotid

String

The id of the plot (if any).

"mylineplot" | ...

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_mouseout

Dispatches when the user moves out from a plot.

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

ev

Object

The event object, containing other possibly valuable data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotid

String

The id of the plot (if any).

"mylineplot" | ...

plotindex

Numeric

The index of the plot.

0 | 1 | ...

plot_mouseover

Dispatches when the user places the mouse over a plot.

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

ev

Object

The event object, containing other possibly valuable data.

{...}

graphid

String

The ID of the graph object.

"mygraph" | 0 | 1 | ...

id

String

The ID of the zingchart object.

"mychart" | ...

plotid

String

The id of the plot (if any).

"mylineplot" | ...

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 | ...