Skip to main content

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

Declaration

public ConstantLine(
    string name,
    double value
)

Parameters

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