Node

Node Events

node_click

Dispatches when the user clicks a node.

AttributeTypeInfo
evObject

The event object, containing other possibly valuable data.

{...}

graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

idString

The ID of the zingchart object.

"mychart" | ...

keyMixedThe scale key of the node position.
nodeindexNumeric

The index of the node.

0 | 8 | 20 | ...

plotidString

The id of the plot (if any).

"mylineplot" | ...

plotindexNumeric

The index of the plot.

0 | 1 | ...

textStringThe string representation of the node value.
valueNumericThe node value.

node_doubleclick

Dispatches when the user double clicks a node.

https://app.zingsoft.com/demos/embed/EENNHL5S
https://app.zingsoft.com/demos/embed/EENNHL5S
AttributeTypeInfo
evObject

The event object, containing other possibly valuable data.

{...}

graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

idString

The ID of the zingchart object.

"mychart" | ...

keyMixedThe scale key of the node position.
nodeindexNumeric

The index of the node.

0 | 8 | 20 | ...

plotidString

The id of the plot (if any).

"mylineplot" | ...

plotindexNumeric

The index of the plot.

0 | 1 | ...

textStringThe string representation of the node value.
valueNumericThe node value.

node_mouseout

Dispatches when the user moves out from a node.

https://app.zingsoft.com/demos/embed/61HLKRUJ
https://app.zingsoft.com/demos/embed/61HLKRUJ
AttributeTypeInfo
evObject

The event object, containing other possibly valuable data.

{...}

graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

idString

The ID of the zingchart object.

"mychart" | ...

keyMixedThe scale key of the node position.
nodeindexNumeric

The index of the node.

0 | 8 | 20 | ...

plotidString

The id of the plot (if any).

"mylineplot" | ...

plotindexNumeric

The index of the plot.

0 | 1 | ...

textStringThe string representation of the node value.
valueNumericThe node value.

node_mouseover

Dispatches when the user places the mouse over a node.

https://app.zingsoft.com/demos/embed/0QLQ8RG2
https://app.zingsoft.com/demos/embed/0QLQ8RG2
AttributeTypeInfo
evObject

The event object, containing other possibly valuable data.

{...}

graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

idString

The ID of the zingchart object.

"mychart" | ...

keyMixedThe scale key of the node position.
nodeindexNumeric

The index of the node.

0 | 8 | 20 | ...

plotidString

The id of the plot (if any).

"mylineplot" | ...

plotindexNumeric

The index of the plot.

0 | 1 | ...

textStringThe string representation of the node value.
valueNumericThe node value.

node_set

Dispatches when the user sets the node.

https://app.zingsoft.com/demos/embed/8UPRYP7E
https://app.zingsoft.com/demos/embed/8UPRYP7E
AttributeTypeInfo
idString

The ID of the zingchart object.

"mychart" | ...

graphidString

The ID of the graph object.

"mygraph" | 0 | 1 | ...

plotindexNumeric

The index of the plot.

0 | 1 | ...

nodeindexNumeric

The index of the node.

0 | 8 | 20 | ...

keyMixedThe scale key of the node position.
valueNumericThe node value.
textStringThe string representation of the node value.