Back to Devexpress

CrosshairOptions.ShowCrosshairLabels Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-a0b1c007.md

latest3.0 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
Boolean

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:

LibraryObject TypePath to ShowCrosshairLabels
WinForms ControlsChartControl

.CrosshairOptions .ShowCrosshairLabels

| | ASP.NET MVC Extensions | ChartControlSettings |

.CrosshairOptions .ShowCrosshairLabels

| | ASP.NET Web Forms Controls | WebChartControl |

.CrosshairOptions .ShowCrosshairLabels

|

Remarks

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=TrueShowCrosshairLabels=False

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

CrosshairOptions Class

CrosshairOptions Members

DevExpress.XtraCharts Namespace