ConstantLine(String, Double) Constructor

Initializes a new instance of the ConstantLine class with the specified name and numeric value.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.2.dll


public ConstantLine(
    string name,
    double value
Public Sub New(
    name As String,
    value As Double


Name Type Description
name String

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

value Double

A Double 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