DXDateTimeConstantLine Class

The constant line that the date-time axis can display.

Declaration

@interface DXDateTimeConstantLine: DXConstantLineBase

The following elements form the constant line:

Date-time Constant Line sample

Inheritance

NSObject
DXChartElement
DXConstantLineBase
DXDateTimeConstantLine

Properties

Constructors

DXDateTimeConstantLine.axisValue Property

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

Declaration

@property (readwrite, nullable) NSDate *axisValue

Property Value

Type Description
NSDate *

The axis value on which the constant line should be.

Instance Methods

Constructors

DXDateTimeConstantLine.initWithAxisValue: Instance Method

Initializes a new constant line with the specified date-time axis value.

Declaration

- (nullable id)initWithAxisValue:(nullable NSDate *)axisValue

Parameters

Type Name Description
NSDate * axisValue

The axis value on which the constant line should be.

Returns

Type Description
id

The new DXDateTimeConstantLine with the specified axis value.