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

QualitativeConstantLine Class

The vertical straight line that passes through the chart and indicates a qualitative x-axis’s value.

Namespace: DevExpress.XamarinForms.Charts

Assembly: DevExpress.XamarinForms.Charts.dll

Declaration

public class QualitativeConstantLine :
    ConstantLineBase

Remarks

The following image demonstrates how the Qualitative Constant Line looks:

Date-Time Constant Line Sample

Each axis can have any number of constant lines. A qualitative axis (QualitativeAxisX) holds its constant lines in the QualitativeConstantLineCollection collection which the QualitativeAxisX.ConstantLines property returns.

The following properties allow you to define constant line settings:

Property

Description

AxisValue

Gets or sets the constant line position along the axis.

ShowBehind

Specifies whether the constant line is displayed behind series.

VisibleInLegend

Indicates whether the constant line is shown in the chart legend.

LegendText

Gets or sets the text that identifies the constant line in the chart legend.

Title

Gets or sets settings of the constant line title.

Style

Gets or sets the constant line appearance settings.

Inheritance

Object
Xamarin.Forms.BindableObject
See Also