DateTimeConstantLine Class

The constant line that can be added to a DateTimeAxisX axis.

Syntax

public class DateTimeConstantLine
extends ConstantLineBase

Inheritance

Constructors

DateTimeConstantLine() Constructor

Initializes a new DateTimeConstantLine class instance with default parameters.

Syntax

public DateTimeConstantLine()

DateTimeConstantLine(Date) Constructor

Initializes a new DateTimeConstantLine class instance with the specified parameters.

Syntax

public DateTimeConstantLine(Date axisValue)

Parameters

Type Name Description
Date axisValue

The value that specifies the constant line's position.

Methods

getAxisValue() Method

Returns the axis value specifying the constant line's position on the axis.

Syntax

public Date getAxisValue()

Returns

Type Description
Date

The constant line's position along the corresponding date-time axis.

setAxisValue(Date) Method

Specifies the axis value specifying the constant line's position on the axis.

Syntax

public void setAxisValue(Date value)

Parameters

Type Name Description
Date value

The constant line's position along the corresponding date-time axis.