A newer version of this page is available. Switch to the current version.

CrosshairOptions.ShowCrosshairLabels Property

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll


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

Property Value

Type Description

true to display a crosshair label 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 ShowCrosshairLabels
WinForms Controls ChartControl
ASP.NET Controls and MVC Extensions ChartControlSettings


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

The following table shows this property in action for WinForms Charts.

ShowCrosshairLabels=True ShowCrosshairLabels=False
ShowCrosshairLabels_True ShowCrosshairLabelsFalse

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.

See Also