DateTimeConstantLine Class

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

Declaration

public class DateTimeConstantLine
extends ConstantLineBase

Inheritance

Constructors

DateTimeConstantLine() Constructor

Initializes a new DateTimeConstantLine class instance with default parameters.

Declaration

public DateTimeConstantLine()

DateTimeConstantLine(Date) Constructor

Initializes a new DateTimeConstantLine class instance with the specified parameters.

Declaration

public DateTimeConstantLine(Date axisValue)

Parameters

Type Name Description
Date axisValue

The value that specifies the constant line's position.

Methods

DateTimeConstantLine.getAxisValue() Method

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

Declaration

public Date getAxisValue()

Returns

Type Description
Date

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

DateTimeConstantLine.setAxisValue(Date) Method

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

Declaration

public void setAxisValue(Date value)

Parameters

Type Name Description
Date value

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