DXAxisTitle Class

The axis title.

Declaration

@interface DXAxisTitle: DXTitle

The title allows specifying additional text explaining axis values.

Axis title sample

Inheritance

NSObject
DXChartElement
DXTitle
DXAxisTitle

Properties

DXAxisTitle.alignment Property

Gets or sets the title's position.

Declaration

@property (readwrite) DXAxisTitleAlignment alignment

Property Value

Type Description
DXAxisTitleAlignment

The DXAxisTitleAlignment enumeration value that specifies the title's alignment.

Instance Methods

DXAxisTitle.initWithText: Instance Method

Initializes a new title with the specified text.

Declaration

- (nonnull id)initWithText:(nullable NSString *)text

Parameters

Type Name Description
NSString * text

The title's text.

Returns

Type Description
id

The new DXAxisTitle class instance with the specified text.