Skip to main content

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.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public ConstantLine(
    string name,
    TimeSpan value
)

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