Skip to main content

ChartZoomAndPanBuilder.ArgumentAxis(ChartZoomAndPanMode) Method

Specifies whether users are allowed to zoom and/or pan the argument axis. Mirrors the client-side argumentAxis option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ChartZoomAndPanBuilder ArgumentAxis(
    ChartZoomAndPanMode value
)

Parameters

Name Type Description
value ChartZoomAndPanMode

The option value.

Returns

Type Description
ChartZoomAndPanBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Chart()
    .ZoomAndPan(pan => pan
        .ArgumentAxis(ChartZoomAndPanMode.Both)
    )
)
See Also