React PieChart - PieChartLegendItem

An object that provides information about a legend item in the PieChart UI component.

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

See Also

argument

The argument of the point(s) that the legend item represents.

Type:

String

|

Date

|

Number

argumentIndex

The zero-based index of the legend item used to identify the item among other legend items with the same argument.

Type:

Number

Legend items are indexed in the same order as in the data source.

marker

A legend item marker.

Selector: Marker
Type:

Object

DevExtreme legend item marker

points

An array of points that the legend item represents. Can contain more than one point only in a multi-series PieChart.

Selector: Point
Type:

Array<Point>

text

The text that the legend item displays.

Type: any

visible

Indicates and specifies whether the legend item is visible.

Type:

Boolean