Skip to main content

CrosshairOptions.CrosshairLabelMode Property

Specifies the way in which the crosshair label is shown for a series on a diagram.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.2.dll

NuGet Package: DevExpress.Charts

Declaration

public CrosshairLabelMode CrosshairLabelMode { get; set; }

Property Value

Type Description
CrosshairLabelMode

A CrosshairLabelMode enumeration member that specifies how the crosshair label is shown for a series.

Available values:

Name Description
ShowForEachSeries

A crosshair label is shown for each series.

CrosshairLabelMode - ShowForEachSeries

ShowForNearestSeries

A crosshair label is shown for the nearest series.

CrosshairLabelMode - ShowForNearestSeries

ShowCommonForAllSeries

A crosshair label is shown common to all series.

CrosshairLabelMode - ShowCommonForAllSeries

Property Paths

You can access this nested property as listed below:

Library Object Type Path to CrosshairLabelMode
WinForms Controls ChartControl
.CrosshairOptions .CrosshairLabelMode
ASP.NET MVC Extensions ChartControlSettings
.CrosshairOptions .CrosshairLabelMode
ASP.NET Web Forms Controls WebChartControl
.CrosshairOptions .CrosshairLabelMode

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the CrosshairLabelMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also