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:

Inheritance
NSObject
DXChartElementStyle
DXTextStyle
Properties
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. |
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. |
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. |