Skip to main content

PieChartDataPoint

PieChartDataPoint = object

Defines the data point type used in a PieChart. The object that is passed to a color generator is of this type.

Properties

arc

arc: number

Arc, in radians, covered by the slice


arcStart

arcStart: number

Angle at which the slice starts


data

data: ObjectData

The underlying data object for this point


label

label: string

Label for the data point


p

p: number

The proportion of the pie this data point makes up. A value between 0 and 1.


value

value: number

The value this point represents.