Skip to main content

DXStripAxisLabel Class

The axis label that accompanies the strip.

Declaration

@interface DXStripAxisLabel: DXAxisLabelBase

Remarks

The following image highlights the label:

Axis Label sample

Important

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

Inherited Members

Inheritance

NSObject

Properties

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

init Instance Method

Initializes a new label with the default settings.

Declaration

- (nonnull id)init

Returns

Type Description
id

The new DXStripAxisLabel instance.

initWithText: Instance Method

Initializes a new label with the specified text.

Declaration

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

Parameters

Name Type Description
text NSString *

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

Returns

Type Description
id

The new DXStripAxisLabel instance with the specified text.