DXTextStyle Class

The text's appearance settings storage.

Declaration

@interface DXTextStyle: DXChartElementStyle

Remarks

The image below shows parameters that allow you to configure the text's appearance:

Text style parameters

Inheritance

NSObject
DXChartElementStyle
DXTextStyle

Properties

DXTextStyle.backgroundColor Property

Gets or sets a text's background color.

Declaration

@property (readwrite, nullable) UIColor *backgroundColor

Property Value

Type Description
UIColor *

The UIColor object that specifies the background color.

DXTextStyle.fontSize Property

Gets or sets the text's font size.

Declaration

@property (readwrite) CGFloat fontSize

Property Value

Type Description
CGFloat

The font size in screen points.

DXTextStyle.foregroundColor Property

Gets or sets the text's color.

Declaration

@property (readwrite, nullable) UIColor *foregroundColor

Property Value

Type Description
UIColor *

The UIColor object that specifies text color.