Back to Devexpress

CrosshairOptions.ShowGroupHeaders Property

corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-6c9c0f61.md

latest3.7 KB
Original Source

CrosshairOptions.ShowGroupHeaders Property

Specifies whether to show a header for each series group in crosshair cursor labels.

Namespace : DevExpress.XtraCharts

Assembly : DevExpress.XtraCharts.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

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

Property Value

TypeDescription
Boolean

true , to show a group header in crosshair cursor labels; otherwise, false.

|

Property Paths

You can access this nested property as listed below:

LibraryObject TypePath to ShowGroupHeaders
WinForms ControlsChartControl

.CrosshairOptions .ShowGroupHeaders

| | ASP.NET MVC Extensions | ChartControlSettings |

.CrosshairOptions .ShowGroupHeaders

| | ASP.NET Web Forms Controls | WebChartControl |

.CrosshairOptions .ShowGroupHeaders

|

Remarks

The following images demonstrate the ShowGroupHeaders property in action.

ShowGroupHeaders=trueShowGroupHeaders=false

Note that the LineSeriesView.MarkerVisibility property is set to true to display data point markers on a diagram.

Series points are highlighted automatically for both series, thanks to the CrosshairOptions.HighlightPoints property (which is set to true by default) - available in Crosshair cursors for Windows Forms only.

In addition, the crosshair cursor axis lines and labels can be displayed on a diagram. This can be done by setting the CrosshairOptions.ShowArgumentLabels, CrosshairOptions.ShowValueLabels, CrosshairOptions.ShowArgumentLine and CrosshairOptions.ShowValueLine properties to true.

For more information on customizing the crosshair cursor, refer to Tooltip and Crosshair Cursor.

See Also

CrosshairOptions Class

CrosshairOptions Members

DevExpress.XtraCharts Namespace