Skip to main content

CrosshairOptions.ShowValueLine Property

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

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v14.2.dll

#Declaration

[XtraSerializableProperty]
public bool ShowValueLine { get; set; }

#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 the CrosshairOptions.ShowValueLine property from the following objects:

Object Type Path to ShowValueLine
ChartControl
.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
CrosshairOption - ShowValueLine - true CrosshairOption - ShowValueLine - false

#Implements

DevExpress.Charts.Native.ICrosshairOptions.ShowValueLine
See Also