DXNumericAxisX Class

The numeric arguments axis.

Declaration

@interface DXNumericAxisX: DXAxisX

The following image demonstrates parameters specific to this axis:

Numeric axis parameters

Refer to the Axes guide for more information about axes.

Inheritance

NSObject

Properties

DXNumericAxisX.gridAlignment Property

Gets or sets the major tickmarks's and gridlines' alignment on the numeric arguments axis.

Declaration

@property (readwrite) CGFloat gridAlignment

Property Value

Type Description
CGFloat

The grid's alignment

DXNumericAxisX.gridOffset Property

Gets or sets the first major tickmark's and gridline's offset from the range's minimum value on the numeric arguments axis.

Declaration

@property (readwrite) CGFloat gridOffset

Property Value

Type Description
CGFloat

The first major tickmark's and gridline's offset, in axis units.

DXNumericAxisX.labelTextFormatter Property

Gets or sets a formatter that provides numeric X-axis labels' text.

Declaration

@property (readwrite, nullable) id<DXNumericAxisLabelTextFormatter> labelTextFormatter

Property Value

Type Description
id<DXNumericAxisLabelTextFormatter>

An object of a class implementing the DXNumericAxisLabelTextFormatter interface that formats axis values.

Note that this property has a higher priority than the DXSeriesLabel.format. If both are specified, the formatted value this property provides is used.

DXNumericAxisX.range Property

Gets or sets the numeric arguments axis's range parameters.

Declaration

@property (readwrite, nullable) DXNumericRange *range

Property Value

Type Description
DXNumericRange *

The DXNumericRange object that specifies the range settings.

Instance Methods

DXNumericAxisX.addConstantLine: Instance Method

Adds the specified constant line to the numeric X-axis.

Declaration

- (void)addConstantLine:(nonnull DXNumericConstantLine *)line

Parameters

Type Name Description
DXNumericConstantLine * line

The DXNumericConstantLine object that specifies the constant line to be added to the axis.

DXNumericAxisX.addStrip: Instance Method

Adds the specified strip to the numeric X-axis.

Declaration

- (void)addStrip:(nonnull DXNumericStrip *)strip

Parameters

Type Name Description
DXNumericStrip * strip

The DXNumericStrip object that specifies the strip to be added to the axis.

DXNumericAxisX.removeConstantLine: Instance Method

Removes the specified constant line from the axis.

Declaration

- (void)removeConstantLine:(nonnull DXNumericConstantLine *)line

Parameters

Type Name Description
DXNumericConstantLine * line

The DXNumericConstantLine object that specifies the constant line to be removed from the axis.

DXNumericAxisX.removeStrip: Instance Method

Removes the specified strip from the axis.

Declaration

- (void)removeStrip:(nonnull DXNumericStrip *)strip

Parameters

Type Name Description
DXNumericStrip * strip

The DXNumericStrip object that specifies the strip to be removed from the axis.