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

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[TypeConverter(typeof(BooleanTypeConverter))]
[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 this nested property as listed below:

Library Object Type Path to HighlightPoints
WinForms Controls ChartControl
.CrosshairOptions .HighlightPoints
ASP.NET Web Forms Controls WebChartControl
.CrosshairOptions .HighlightPoints
ASP.NET MVC Extensions ChartControlSettings
.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