Skip to main content
A newer version of this page is available.

DXDateTimeConstantLine Class

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

Declaration

@interface DXDateTimeConstantLine: DXConstantLineBase

Remarks

The following elements form the constant line:

Date-time Constant Line sample

Inheritance

NSObject
DXChartElement
DXConstantLineBase
DXDateTimeConstantLine

Properties

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

initWithAxisValue: Instance Method

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

Declaration

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

Parameters

Name Type Description
axisValue NSDate *

The axis value on which the constant line should be.

Returns

Type Description
id

The new DXDateTimeConstantLine with the specified axis value.