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

ConstantLine(Double, String) Constructor

Initializes a new instance of the ConstantLine class with the specified double value and title.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v20.1.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public ConstantLine(
    double value,
    string title
)

Parameters

Name Type Description
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.Value property.

title String

A String that specifies the title of the constant line. This value is assigned to the ConstantLine.Title property.

See Also