LegendItemHoverEvent
Arguments for the legendItemHover
event.
pointIndex
number
The point index in the series. Applicable only for the Pie, Donut, and Funnel series.
sender
The ChartComponent
that triggered the event.
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 true
if the event was prevented
by any of its subscribers.
Returns
boolean
true
if the default action was prevented.
Otherwise, returns false
.
preventDefault
If called, the series highlight is not shown as a result of hovering over the legend item.