DXAxisLabel Class

Axis labels settings storage.

Declaration

@interface DXAxisLabel: DXAxisLabelBase

These options specify the label format, position and appearance settings of axis labels.

Inheritance

NSObject

Properties

Constructors

DXAxisLabel.format Property

Gets or sets axis labels' text format pattern.

Declaration

@property (readwrite, copy, nonatomic, nullable) NSString *format

Property Value

Type Description
NSString *

The NSString object that specifies the format string.

For the DXNumericAxisX's or DXNumericAxisY's label you should use the Unicode number pattern characters, and for the DXDateTimeAxisX's labels you should use the Unicode date pattern characters.

Note

This property has the lower priority than an axis's DXQualitativeAxisX.labelTextFormatter, DXNumericAxisX.labelTextFormatter, DXNumericAxisY.labelTextFormatter or DXDateTimeAxisX.labelTextFormatter property. If both of them are specified, the label uses a formatted value that the textFormatter provides.

DXAxisLabel.position Property

Gets or sets axis labels' position.

Declaration

@property (readwrite) DXAxisLabelPosition position

Property Value

Type Description
DXAxisLabelPosition

The DXAxisLabelPosition enumeration value specifying the position for axis labels.

Instance Methods

Constructors

DXAxisLabel.init Instance Method

Initializes the newly created DXAxisLabel object with default settings.

Declaration

- (id)init

Returns

Type Description
id

The initialized object.

DXAxisLabel.initWithFormat: Instance Method

Initializes the newly created DXAxisLabel object with the specified format string.

Declaration

- (id)initWithFormat:(NSString *)format

Parameters

Type Name Description
NSString * format

The format string.

Returns

Type Description
id

The initialized object.