All docs
V20.1
20.2 (EAP/Beta)
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

ConstantLine(String, TimeSpan) Constructor

Initializes a new instance of the ConstantLine class with the specified name and time-span value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public ConstantLine(
    string name,
    TimeSpan value
)
Public Sub New(
    name As String,
    value As TimeSpan
)

Parameters

Name Type Description
name String

A String that specifies the constant line name. This value is assigned to the ChartElementNamed.Name property.

value TimeSpan

A TimeSpan value that specifies the numeric value at which the constant line will be shown. This value is assigned to the ConstantLine.AxisValue property.

See Also