Skip to main content

Constant Line

A Constant Line is used to indicate the value on the corresponding axis. Each axis can contain any number of constant lines. A constant line can be identified by its title.

ConstantLine

The table below lists the main properties that affect element appearance and functionality.

Availability

Axis2D.ConstantLinesBehind and Axis2D.ConstantLinesInFront

Appearance

ConstantLine.Brush, ConstantLine.BorderBrush, ConstantLine.BorderThickness, ConstantLine.LineStyle, ConstantLine.ActualLineStyle, ConstantLine.Effect

Identification

ConstantLine.LegendText, ConstantLine.Title, ConstantLine.LegendMarkerTemplate

Position

ConstantLine.Value, ConstantLine.Foreground, ConstantLine.Background

Visibility

ConstantLine.Visible, ConstantLine.Visibility, and ConstantLine.CheckedInLegend

Custom Draw Event

ChartControl.CustomDrawSeries

See Also