DXNumericConstantLine Class

The constant line that the numeric axis can display.

Declaration

@interface DXNumericConstantLine: DXConstantLineBase

Remarks

The numeric constant line contains the following elements:

Numeric Constant Line sample

Inheritance

NSObject
DXChartElement
DXConstantLineBase
DXNumericConstantLine

Properties

DXNumericConstantLine.axisValue Property

Gets or sets the constant line's position on the axis.

Declaration

@property (readwrite) double axisValue

Property Value

Type Description
double

The constant line's axis value

Instance Methods

DXNumericConstantLine.initWithAxisValue: Instance Method

Initializes a new constant line with the specified numeric axis value.

Declaration

- (nullable id)initWithAxisValue:(double)axisValue

Parameters

Type Name Description
double axisValue

The axis value on which the constant line should be.

Returns

Type Description
id

The new DXNumericConstantLine with the specified axis value.