Skip to main content

ConstantLine.Value Property

Gets or sets the constant line‘s position along an axis.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v23.2.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public object Value { get; set; }

Property Value

Type Description
Object

A Object value that specifies the constant line’s position.

Remarks

The Value property specifies the position of a constant line along its corresponding axis. The value set for the Value property should lie in the range specified by the Axis.Range property, and correspond to the axis scale type (defined by the Series.ArgumentScaleType or Series.ValueScaleType property).

For more information, refer to Constant Lines.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Value property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also