corelibraries-devexpress-dot-xtracharts-dot-crosshairoptions-ae2381fc.md
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.v25.2.dll
NuGet Package : DevExpress.Charts
public bool HighlightPoints { get; set; }
Public Property HighlightPoints As Boolean
| Type | Description |
|---|---|
| Boolean |
true , if the series points are highlighted when the crosshair cursor hovers over them; otherwise, false.
|
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
|
The following images demonstrate the HighlightPoints property in action.
| HighlightPoints=True | HighlightPoints=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