Skip to main content
A newer version of this page is available.

DXPieSeries Class

The Pie series.

Declaration

@interface DXPieSeries: DXSeriesBase

Remarks

The following image represents Pie series:

Example

Inheritance

NSObject

Properties

centerLabel Property

Declaration

@property (readwrite, nullable) DXPieCenterLabel *centerLabel

Property Value

Type
DXPieCenterLabel *

data Property

Gets or sets the Pie (Donut) series’s data.

Declaration

@property (readwrite, nullable) NSObject<DXPieSeriesData> *data

Property Value

Type Description
NSObject<DXPieSeriesData> *

An object of class adopting the DXPieSeriesData protocol that provides data points values.

hintOptions Property

Gets or sets pie series’ hint options.

Declaration

@property (readwrite, nullable) DXPieSeriesHintOptions *hintOptions

Property Value

Type Description
DXPieSeriesHintOptions *

The DXPieSeriesHintOptions object that stores series hint options.

Remarks

These options configure how the hint interacts with an object of this class or a descendant class. For example, these options configure a point’s hint text pattern or disable a hint for a series.

label Property

Gets or sets settings of series point labels of a pie series.

Declaration

@property (readwrite, nullable) DXPieSeriesLabel *label

Property Value

Type Description
DXPieSeriesLabel *

The DXPieSeriesLabel object that stores parameters of series point labels.

startAngle Property

Gets or sets the angle on which the pie is rotated.

Declaration

@property (readwrite) CGFloat startAngle

Property Value

Type Description
CGFloat

The angle on which the pie is rotated. The angle is counted from the positive direction of the on-screen X-axis clockwisely.

style Property

Gets or sets the storage of style settings of the series.

Declaration

@property (readwrite, nullable) DXPieSeriesStyle *style

Property Value

Type Description
DXPieSeriesStyle *

The DXPieSeriesStyle object that stores the settings of series appearance.

sweepDirection Property

Gets or sets the value that specifies the sweep direction (clockwise or counterclockwise) for the pie series.

Declaration

@property (readwrite) DXSweepDirection sweepDirection

Property Value

Type Description
DXSweepDirection

The DXSweepDirection enumeration value that specifies the sweep direction for the pie series.