Home > @i2analyze/notebook-sdk > chart > SelectionListener
chart.SelectionListener type
A callback function that handles chart selection events.
Signature:
type SelectionListener = (selection: ISelection & app.IChangeSource, applicationContents: app.IApplicationContents) => void;
References: ISelection, app.IChangeSource, app.IApplicationContents
Introduced: version 1.0
Parameters
Parameter | Description |
---|---|
selection | The selection on the chart at the moment the callback was invoked, and the source of the selection change. |
applicationContents | The contents of the application, including the current chart. |