PieChartDataLabelFormatterProps

Defines the input parameters for the data label formatter callback in the Pie Chart.

Props

The following table outlines the props for the PieChartDataLabelFormatterProps:

NameTypeDefaultDescription
index
number
-

The zero-based index of the data point being formatted.

text
string
-

The current text/value of the data label for the data point.