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

SeriesBase.CrosshairHighlightPoints 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.v20.1.dll

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.Charts

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Behavior)]
public DefaultBoolean CrosshairHighlightPoints { get; set; }

Property Value

Type Description
DefaultBoolean

Default - the CrosshairHighlightPoints property value is obtained from the parent CrosshairOptions.HighlightPoints property; true - the series points are highlighted when the crosshair cursor hovers over them; false - the series points are not highlighted.

Available values:

Name Description
True

Corresponds to a Boolean value of true.

False

Corresponds to a Boolean value of false.

Default

The value is determined by the current object’s parent object setting (e.g., a control setting).

Remarks

Use the CrosshairHighlightPoints property to enable/disable point highlighting for a particular series when the crosshair cursor hovers over a point.

Note

To enable the crosshair highlighting points feature, make sure the CrosshairOptions.HighlightPoints property is set to true.

The following images demonstrate the CrosshairHighlightPoints property in action.

CrosshairHighlightPoints=True (for Series1);

CrosshairHighlightPoints=False (for Series2)

CrosshairHighlightPoints=True (for Series2);

CrosshairHighlightPoints=False (for Series1)

CrosshairHighlightPoints_True(Series1)

CrosshairHighlightPoints_True(Series2)

Note that the MarkerVisibility property for a particular series (e.g., LineSeriesView.MarkerVisibility) is set to false by default to support series point highlighting 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.

Note

This property is not applicable to ASP.NET and ASP.NET MVC chart series.

For more information on customizing the crosshair cursor, refer to Tooltip and Crosshair Cursor.

See Also