Skip to main content
A newer version of this page is available. .

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

NuGet Package: DevExpress.Charts

Declaration

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 this nested property as listed below:

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

Remarks

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