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.v21.1.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