Skip to main content

DXChartStyle Class

The storage of the chart appearance settings.

Declaration

@interface DXChartStyle: DXChartElementStyle

Remarks

The following image demonstrates parameters of the chart appearance.

Chart Style Parameters

Inheritance

NSObject

Properties

backgroundColor Property

Gets or sets the background color of the chart.

Declaration

@property (readwrite, nullable) UIColor *backgroundColor

Property Value

Type Description
UIColor *

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

Remarks

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

borderColor Property

Gets or sets the border color of the chart.

Declaration

@property (readwrite, nullable) UIColor *borderColor

Property Value

Type Description
UIColor *

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

Remarks

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

borderThickness Property

Gets or sets the thickness of the chart border.

Declaration

@property (readwrite) CGFloat borderThickness

Property Value

Type Description
CGFloat

The thickness of the chart border, in screen points.

padding Property

Gets or sets the chart padding.

Declaration

@property (readwrite) UIEdgeInsets padding

Property Value

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

Declaration

@property (readwrite, nullable) DXPalette *palette

Property Value

Type Description
DXPalette *

The DXPalette object that is the palette of the chart.