Back to Devexpress

Constant Line

aspnet-15824-components-chart-control-visual-elements-constant-line.md

latest2.7 KB
Original Source

Constant Line

  • Dec 17, 2020

A Constant Line is used to indicate the value on the diagram’s corresponding axis. Each axis can contain any number of constant lines within its Axis2D.ConstantLines collection. A constant line can be identified by its title. Refer to the following help topic for details: Constant Lines.

The table below lists the main properties that affect the element’s appearance and functionality:

|

Availability

|

The Axis2D.ConstantLines property of an axis, the ConstantLineCollection.Item property of the axis’s constant line collection.

| |

Appearance

|

ConstantLine.Color, ConstantLine.LineStyle

| |

Identification

|

ChartElementNamed.Name, ConstantLine.LegendText, ConstantLine.ShowInLegend, ConstantLine.Title

| |

Position

|

ConstantLine.AxisValue, ConstantLine.ShowBehind

| |

Visibility

|

ConstantLine.Visible, ConstantLine.CheckedInLegend

| |

Custom Draw Event

|

WebChartControl.CustomDrawSeries

|

See Also

Constant Lines

How to: Add a Constant Line to an Axis

How to: Provide Interactive Editing for a Constant Line