Skip to main content

DXPieSeriesStyle Class

The storage of appearance settings of the pie series.

Declaration

@interface DXPieSeriesStyle: DXChartElementStyle

Remarks

The image below demonstrates settings available for customization.

Pie style settings

Inheritance

NSObject
DXChartElementStyle
DXPieSeriesStyle

Properties

explodedDistance Property

Gets or sets the distance between exploded slice and other part of series.

Declaration

@property (readwrite) CGFloat explodedDistance

Property Value

Type Description
CGFloat

The distance between exploded slice and other part of series, measured in percents of the pie radius.

stroke Property

Gets or sets the color of the pie segments stroke.

Declaration

@property (readwrite, nullable) UIColor *stroke

Property Value

Type Description
UIColor *

The color of the pie segments stroke.

Remarks

To reset the default color, set this property to nil.

strokeThickness Property

Gets or sets the width of the pie segments stroke.

Declaration

@property (readwrite) CGFloat strokeThickness

Property Value

Type Description
CGFloat

The width of the pie segments stroke measured in screen points.