Skip to main content

ChartArgumentAxisBuilder.HoverMode(ArgumentAxisHoverMode) Method

Specifies chart elements to be highlighted when a user points to an axis label. Mirrors the client-side hoverMode option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ChartArgumentAxisBuilder HoverMode(
    ArgumentAxisHoverMode value
)

Parameters

Name Type Description
value ArgumentAxisHoverMode

The option value.

Returns

Type Description
ChartArgumentAxisBuilder

A reference to this instance after the method is called.

Remarks

Use the following notation to set the option’s value:

@(Html.DevExtreme().Chart()
    .ArgumentAxis(axis => axis
        .HoverMode(ArgumentAxisHoverMode.AllArgumentPoints)
    )
)
See Also