API / Configuration / ChartLegendItemClickData

Defined in: src/core/types/chart/legend.ts:3

Properties

Property Type Description
id string Legend group ID of the clicked item. Set legend.groupId on a series or pie/funnel data point for a stable ID.
name string Full configured legend label before truncation. May contain HTML, such as <b>Created</b>.
visible boolean Whether the item was visible before the click.