DXStripAxisLabel Class

The axis label that accompanies the strip.

Declaration

@interface DXStripAxisLabel: DXAxisLabelBase

The following image highlights the label:

Axis Label sample

Important

If any strip axis label is visible, default axis labels are hidden.

Inheritance

NSObject

Properties

DXStripAxisLabel.text Property

Gets or sets the text that the label displays.

Declaration

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

Property Value

Type Description
NSString *

The text that the labels displays.

Instance Methods

DXStripAxisLabel.init Instance Method

Initializes a new label with the default settings.

Declaration

- (nonnull id)init

Returns

Type Description
id

The new DXStripAxisLabel instance.

DXStripAxisLabel.initWithText: Instance Method

Initializes a new label with the specified text.

Declaration

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

Parameters

Type Name Description
NSString * text

A text that the strip's new label should display.

Returns

Type Description
id

The new DXStripAxisLabel instance with the specified text.