DXChartStyle Class

The storage of the chart appearance settings.

Syntax

@interface DXChartStyle: DXChartElementStyle

The following image demonstrates parameters of the chart appearance.

Chart Style Parameters

Inheritance

NSObject
DXChartElementStyle
DXChartStyle

Properties

backgroundColor Property

Gets or sets the background color of the chart.

Syntax

@property (readwrite, nullable) UIColor *backgroundColor

Returns

Type Description
UIColor *

The UIColor object that is the background color of the chart.

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

borderColor Property

Gets or sets the border color of the chart.

Syntax

@property (readwrite, nullable) UIColor *borderColor

Returns

Type Description
UIColor *

The UIColor object that is the border color of the chart.

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

borderThickness Property

Gets or sets the thickness of the chart border.

Syntax

@property (readwrite) CGFloat borderThickness

Returns

Type Description
CGFloat

The thickness of the chart border, in screen points.

padding Property

Gets or sets the chart padding.

Syntax

@property (readwrite) UIEdgeInsets padding

Returns

Type Description
UIEdgeInsets

The UIEdgeInsets object that specifies the chart padding, in screen points.

palette Property

Gets or sets the palette used to draw the chart's series

Syntax

@property (readwrite, nullable) DXPalette *palette

Returns

Type Description
DXPalette *

The DXPalette object that is the palette of the chart.