The context for the legend item visual function.

active boolean

Indicates if the legend item is active.
The item is inactive when the associated point or series in not visible.

createVisual () => Element

A function that can be used to get the default visual.

options any

The legend item options.

pointIndex any

The index of the point in the series.
Available for the Donut, Pie, and Funnel series.

sender ChartComponent

The instance of the Chart component.

series any

The item series.