React PieChart Chart Elements

This section describes chart elements.

Label

This section describes the Label object, which represents a point label.

import { ChartTypes } from "devextreme-react/chart"
Type: ChartTypes.baseLabelObject

To use members described in this section, you need to obtain the point label. To do this, use the getLabel() method of a Point object.

Point

This section describes the Point object, which represents a series point.

import { PieChartTypes } from "devextreme-react/pie-chart"
Type: PieChartTypes.piePointObject

When you get a point as the return value of a function, or a callback function parameter, you can use the members of the Point object.

To get the required point of a particular series, use series' functions (e.g., getAllPoints(), getPointsByArg(pointArg)).

Series

This section describes the Series object, which represents a series.

import { PieChartTypes } from "devextreme-react/pie-chart"
Type: PieChartTypes.pieChartSeriesObject

When you get a series as the return value of a function, or a callback function parameter, you can use the members of the Series object.

To get the required series, use the chart's function getAllSeries().