Skip to main content

Constant Line

A Constant Line is used to indicate the value on the corresponding axis in the diagram. Each axis can contain any number of constant lines within its Axis2D.ConstantLines collection. A constant line can be identified by its title. For more detailed information, refer to Constant Lines.

ConstantLines_0

The table below lists the main properties which 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

ChartControl.CustomDrawSeries

See Also