CrosshairOptions.ShowValueLine Property

Specifies whether to show a value line of a series point indicated by a crosshair cursor on a diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v20.1.dll

Declaration

public bool ShowValueLine { get; set; }
Public Property ShowValueLine As Boolean

Property Value

Type Description
Boolean

true to display a value line indicated by a crosshair cursor on a diagram; otherwise, false.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to ShowValueLine
WinForms Controls ChartControl
.CrosshairOptions.ShowValueLine
ASP.NET Controls and MVC Extensions ChartControlSettings
.CrosshairOptions.ShowValueLine
MVCxChartControl
.CrosshairOptions.ShowValueLine
WebChartControl
.CrosshairOptions.ShowValueLine

Remarks

Before using the ShowValueLine property, make sure the ChartControl.CrosshairEnabled property is set to true.

The following table shows this property in action.

ShowValueLine=True ShowValueLine=False
ShowValueLineTrue ShowValueLineFalse

Note that the MarkerVisibility property for a particular series (e.g. LineSeriesView.MarkerVisibility) is set to false by default to support series point highlighting on a diagram (in XtraCharts for WinForms only).

To learn more about the crosshair cursor, see the Crosshair Cursor topic.

Implements

DevExpress.Charts.Native.ICrosshairOptions.ShowValueLine
See Also