Skip to main content
A newer version of this page is available.

DXAxisLabel Class

Axis labels settings storage.

Declaration

@interface DXAxisLabel: DXAxisLabelBase

Remarks

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

Inherited Members

Inheritance

Properties

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.

Remarks

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.

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

init Instance Method

Initializes the newly created DXAxisLabel object with default settings.

Declaration

- (id)init

Returns

Type Description
id

The initialized object.

initWithFormat: Instance Method

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

Declaration

- (id)initWithFormat:(NSString *)format

Parameters

Name Type Description
format NSString *

The format string.

Returns

Type Description
id

The initialized object.