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

ConstantLine(DateTime, String) Constructor

Initializes a new instance of the ConstantLine class with the specified date-time 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(
    DateTime value,
    string title
)

Parameters

Name Type Description
value DateTime

A DateTime value that specifies the date-time 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