Skip to main content

Constant Line

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.

ConstantLines_0

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