Home > @i2analyze/notebook-sdk > chart > HoverChangeListener
chart.HoverChangeListener type
A callback function that handles chart hover change events.
Signature:
type HoverChangeListener = (element: visual.INode | visual.IEdge | visual.IEdgeSummary | visual.INodeGroup | null, applicationContents: app.IApplicationContents) => void;
References: visual.INode, visual.IEdge, visual.IEdgeSummary, visual.INodeGroup, app.IApplicationContents
Introduced: version 1.10
Parameters
| Parameter | Description |
|---|---|
| element | The chart element now under the pointer, or null if the pointer has left all chart elements. |
| applicationContents | The contents of the application, including the current chart. |
Remarks
This callback fires when the pointer moves over a different chart element, or when it enters or leaves all chart elements. It does not fire on every pointermove — only when the hovered element changes.