New to KendoReact? Start a free 30-day trial
LegendItemClickEvent
LegendItemClickEventPremium
Arguments for the legendItemClick event.
| Name | Type | Default | Description |
|---|---|---|---|
pointIndex |
|
The point index in the series. Applicable only to the Pie, Donut, Funnel and Pyramid series. | |
series |
|
An object which contains the series options. | |
seriesIndex |
|
The index of the series in the parent Chart. | |
target |
|
The | |
text |
|
The text of the legend item. |
Methods
isDefaultPrevented | ||||
|---|---|---|---|---|
|
Returns | ||||
|
preventDefault |
|---|
|
If called, the series visibility is not toggled as a result of clicking the legend item. |