DXNumericAxisY Class

The numeric values axis.

Declaration

@interface DXNumericAxisY: DXAxisBase

The following image demonstrates parameters specific to this axis:

Numeric axis parameters

Refer to the Axes guide for more information about axes.

Inheritance

NSObject
DXChartElement
DXAxisBase
DXNumericAxisY

Properties

Constructors

DXNumericAxisY.alwaysShowZeroLevel Property

Gets or sets the value indicating whether the range should always include a zero value.

Declaration

@property (readwrite) BOOL alwaysShowZeroLevel

Property Value

Type Description
BOOL

YES if the range should include a zero value; otherwise NO.

DXNumericAxisY.autoRangeMode Property

Gets or sets the range automatically calculation mode.

Declaration

@property (readwrite) DXAutoRangeMode autoRangeMode

Property Value

Type Description
DXAutoRangeMode

The DXAutoRangeMode enumeration value that specifies how to automatically calculate axis' range.

DXNumericAxisY.gridAlignment Property

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

Declaration

@property (readwrite) CGFloat gridAlignment

Property Value

Type Description
CGFloat

The grid's alignment

DXNumericAxisY.gridOffset Property

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

Declaration

@property (readwrite) CGFloat gridOffset

Property Value

Type Description
CGFloat

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

DXNumericAxisY.labelTextFormatter Property

Gets or sets a formatter that provides numeric Y-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.

DXNumericAxisY.range Property

Gets or sets the values 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

Constructors

DXNumericAxisY.addConstantLine: Instance Method

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

Declaration

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

Parameters

Type Name Description
DXNumericConstantLine * line

The DXNumericConstantLine object that specifies the constant line to add to the axis.

DXNumericAxisY.addStrip: Instance Method

Adds the specified strip to the numeric Y-axis.

Declaration

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

Parameters

Type Name Description
DXNumericStrip * strip

The DXNumericStrip object that specifies the strip to add to the axis.

DXNumericAxisY.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.

DXNumericAxisY.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.