Specifies PieChart legend properties.
Specifies the text for a hint that appears when a user hovers the mouse pointer over a legend item.
Function
Object
Information on the series point.
String
The point's color.
Number
The point's index.
The point's name.
The text for the hint to display.
Allows you to change the order, text, and visibility of legend items.
Array<PieChartLegendItem>
Legend items before customizations.
Legend items after customizations.
Specifies a callback function that returns the text to be displayed by a legend item.
The text for the legend item to display.
Specifies what chart elements to highlight when a corresponding item in the legend is hovered over.
PieChartLegendHoverMode
Specifies an SVG element that serves as a custom legend item marker.
template
PieChartLegendItem
Information about a legend item.