PieLegendClickEvent
Provides event arguments triggered when a legend item is clicked in the chart.
Props
The following table outlines the props for the PieLegendClickEvent:
| Name | Type | Default | Description |
|---|---|---|---|
| cancel | boolean | - | Indicates whether the event should be canceled.
Set to |
| seriesName | string | - | The name of the chart series associated with the clicked legend item. |
| shape | - | The shape of the visual marker used in the clicked legend item. | |
| text | string | - | The label text displayed in the clicked legend item. |