Skip to main content

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.v24.1.dll

NuGet Package: DevExpress.Web.Bootstrap

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