Skip to main content

CrosshairOptions.HighlightPoints Property

Gets or sets a value that specifies whether the series points are highlighted when the crosshair cursor hovers over them.

Namespace: DevExpress.Xpf.Charts

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

#Declaration

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

#Property Value

Type Description
Boolean

true, if the series points are highlighted when the crosshair cursor hovers over them; otherwise, false.

#Property Paths

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

Object Type Path to HighlightPoints
ChartControl
.CrosshairOptions.HighlightPoints

#Remarks

The following images demonstrate the HighlightPoints property in action.

HighlightPoints=True HighlightPoints=False
HighlightPoints_True HighlightPoints_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 are displayed on a diagram. It 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