PieChartTooltipTemplateProps

Represents the context data available for rendering a custom tooltip template in a chart.

Props

The following table outlines the props for the PieChartTooltipTemplateProps:

NameTypeDefaultDescription
pointIndex
number
-

The index of the data point within the series.

seriesIndex
number
-

The index of the series to which the data point belongs.

tooltip
string
-

The value to be displayed in the tooltip, mapped from the tooltipField in the series configuration.

x
number
-

The X-coordinate of the data point in the chart.

y
number
-

The Y-coordinate of the data point in the chart.