Home > @activeviam/activeui-sdk > ChartSelectionHandlerImplementationProperties
ChartSelectionHandlerImplementationProperties interface
Lets projects interact with the core chart selection.
Signature:
export interface ChartSelectionHandlerImplementationProperties
Properties
Property | Type | Description |
---|---|---|
onChange | (selection: ChartSelection, layerApi: WidgetApi, widgetApi: WidgetApi) => void | Is called back each time the selection changes. |
transform | (selection: ChartSelection, layerApi: WidgetApi, widgetApi: WidgetApi) => ChartSelection | Lets you apply a custom selection on the fly, instead of the default one. Note that returning undefined will cancel the selection. |