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

BootstrapChartLegendSettings.HoverMode Property

Specifies what series elements to highlight when a corresponding item in the legend is hovered over.

Namespace: DevExpress.Web.Bootstrap

Assembly: DevExpress.Web.Bootstrap.v18.2.dll

Declaration

[DefaultValue(ChartLegendHoverMode.IncludePoints)]
public ChartLegendHoverMode HoverMode { get; set; }

Property Value

Type Default Description
ChartLegendHoverMode **IncludePoints**

One of the ChartLegendHoverMode enumeration values.

Available values:

Name Description
None

A legend hover does not affect a chart appearance.

IncludePoints

When a legend item is hovered over, the corresponding series is highlighted along with its points.

ExcludePoints

When a legend item is hovered over, the corresponding series is highlighted, but its points are excluded.

Property Paths

You can access this nested property as listed below:

Object Type Path to HoverMode
BootstrapChart
.SettingsLegend.HoverMode
BootstrapChartBase
.SettingsLegend.HoverMode
BootstrapCoordinateSystemChart
.SettingsLegend.HoverMode
BootstrapPieChart
.SettingsLegend.HoverMode
BootstrapPolarChart
.SettingsLegend.HoverMode

Remarks

In the Chart widget, legend items represent series. When a legend item is hovered over, the corresponding series is highlighted. To prevent this behavior, set the HoverMode property to ‘none‘.

See Also