Back to Devexpress

DateTimeConstantLine Class

mobilecontrols-devexpress-dot-xamarinforms-dot-charts-0fc97d35.md

latest2.8 KB
Original Source

DateTimeConstantLine Class

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

Namespace : DevExpress.XamarinForms.Charts

Assembly : DevExpress.XamarinForms.Charts.dll

NuGet Package : DevExpress.XamarinForms.Charts

Declaration

csharp
public class DateTimeConstantLine :
    ConstantLineBase

Remarks

The following image demonstrates how the Date-Time Constant Line looks:

Each axis can have any number of constant lines. A date-time axis (DateTimeAxisX) holds its constant lines in the DateTimeConstantLineCollection collection which the DateTimeAxisX.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.

|

Implements

INotifyPropertyChanged

Inheritance

Object ChartElement StyledElement ConstantLineBase DateTimeConstantLine

See Also

DateTimeConstantLine Members

DevExpress.XamarinForms.Charts Namespace