DXNumericAxisX Class
The numeric arguments axis.
Declaration
@interface DXNumericAxisX: DXAxisX
Remarks
The following image demonstrates parameters specific to this axis:
Refer to the Axes guide for more information about axes.
Inheritance
Properties
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 |
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. |
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. |
Remarks
Note that this property has a higher priority than the DXSeriesLabel.format. If both are specified, the formatted value this property provides is used.
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
addConstantLine: Instance Method
Adds the specified constant line to the numeric X-axis.
Declaration
- (void)addConstantLine:(nonnull DXNumericConstantLine *)line
Parameters
Name | Type | Description |
---|---|---|
line | DXNumericConstantLine * | The DXNumericConstantLine object that specifies the constant line to be added to the axis. |
addStrip: Instance Method
Adds the specified strip to the numeric X-axis.
Declaration
- (void)addStrip:(nonnull DXNumericStrip *)strip
Parameters
Name | Type | Description |
---|---|---|
strip | DXNumericStrip * | The DXNumericStrip object that specifies the strip to be added to the axis. |
removeConstantLine: Instance Method
Removes the specified constant line from the axis.
Declaration
- (void)removeConstantLine:(nonnull DXNumericConstantLine *)line
Parameters
Name | Type | Description |
---|---|---|
line | DXNumericConstantLine * | The DXNumericConstantLine object that specifies the constant line to be removed from the axis. |
removeStrip: Instance Method
Removes the specified strip from the axis.
Declaration
- (void)removeStrip:(nonnull DXNumericStrip *)strip
Parameters
Name | Type | Description |
---|---|---|
strip | DXNumericStrip * | The DXNumericStrip object that specifies the strip to be removed from the axis. |