LegendItemClickEvent
Arguments for the legendItemClick
event.
NAME | TYPE | DEFAULT | DESCRIPTION |
---|---|---|---|
pointIndex | number | The point index in the series. Applicable only for the Pie, Donut, and Funnel series. | |
sender | The | ||
series | An object which contains the series options. | ||
seriesIndex | number | The index of the series in the parent Chart. | |
text | string | The text of the legend item. |
Methods
isDefaultPrevented | |
---|---|
Returns |
Returns | |
---|---|
boolean |
|
preventDefault |
---|
If called, the series visibility is not toggled as a result of clicking the legend item. |