API / Configuration / ChartLegendEvents
Defined in: src/core/types/chart/legend.ts:12
Properties
| Property | Type | Description |
|---|---|---|
itemClick? |
(data: ChartLegendItemClickData, event: MouseEvent) => void |
Called when a discrete legend item is clicked, before the configured click action runs. This callback is informational: its return value and event.defaultPrevented do not change series visibility. |
Previous
Next