Chart - ILegendRenderEventArgs
30 Sep 20261 minute to read
Properties
cancel boolean
Defines the event’s cancellation status.
fill string
Defines the legend fill color.
markerShape ChartShape
Defines the legend marker shape.
name string
Defines the name of the event.
point Points
Defines the point associated with the legend item when the legend
mode is Point (and other point-scoped rows where applicable).
undefined otherwise.
series Series
Defines the series associated with the legend item being rendered.
Resolved at trigger time from the same loop that built the legend
collection. undefined when no owner can be resolved (e.g. gradient
bar rows, range legend rows without a single series, isolated legend
entries). Consumers SHOULD guard with args.series?.<field>.
shape LegendShape
Defines the legend shape.
template string
Defined the legend template
text string
Defines the legend text.