Skip to main content
A newer version of this page is available. .

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.v19.1.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