LegendItemLeaveEvent

Arguments for the legendItemLeave event.

pointIndex number

The point index in the series. Applicable only to the Pie, Donut, and Funnel series.

series EventSeriesOptions

An object which contains the series options.

seriesIndex number

The index of the series in the parent Chart.

target Charts

The Chart component that triggered the event.

text string

The text of the legend item.

Methods

isDefaultPrevented

Returns true if the event was prevented by any of its subscribers.

Returns

boolean true if the default action was prevented. Otherwise, returns false.