legendItemClick property
Fires when the legend item belonging to the pie point (slice) is
clicked. The this
keyword refers to the point itself. One
parameter, event
, is passed to the function, containing common
event information. The default action is to toggle the visibility of
the point. This can be prevented by calling event.preventDefault()
.
Note: This option is deprecated in favor of legend.events.itemClick.
API Docs: https://api.highcharts.com/highcharts/series.variablepie.point.events.legendItemClick
Implementation
HighchartsCallback? legendItemClick;