Skip to main content

ConstantLine(String) Constructor

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public ConstantLine(
    string name
)

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.

Remarks

Note that the ConstantLine.AxisValue property is set to 1.

See Also