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.XtraCharts

Assembly: DevExpress.XtraCharts.v21.2.dll


public bool HighlightPoints { get; set; }

Property Value

Type Description

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

Property Paths

You can access this nested property as listed below:

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


The following images demonstrate the HighlightPoints property in action.

HighlightPoints=True HighlightPoints=False
CrosshairOptions_HighlightSeriesPoints_True CrosshairOptions_HighlightSeriesPoints_False

Note that the LineSeriesView.MarkerVisibility property is set to true to display data 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 Tooltip and Crosshair Cursor.

See Also