Skip to main content

CrosshairOptions.ShowGroupHeaders Property

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

Namespace: DevExpress.Xpf.Charts

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

#Declaration

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

#Property Value

Type Description
Boolean

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

#Property Paths

You can access the CrosshairOptions.ShowGroupHeaders property from the following objects:

Object Type Path to ShowGroupHeaders
ChartControl
.CrosshairOptions.ShowGroupHeaders

#Remarks

The following images demonstrate the ShowGroupHeaders property in action.

ShowGroupHeaders=true ShowGroupHeaders=false
Crosshair_ShowGroupHeaders_true Crosshair_ShowGroupHeaders_false

Note that the LineSeries2D.MarkerVisible property is set to true to display series point markers on a diagram.

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 Crosshair Cursor.

See Also