Skip to main content
ID

ChartBuilder.AdjustOnZoom(Boolean) Method

Specifies whether to adjust the value axis's visualRange when the argument axis is being zoomed or panned. Mirrors the client-side adjustOnZoom option.

Namespace: DevExtreme.AspNet.Mvc.Builders

Assembly: DevExtreme.AspNet.Core.dll

Declaration

public ChartBuilder AdjustOnZoom(
    bool value
)

Parameters

Name Type Description
value Boolean

The option value.

Returns

Type Description
ChartBuilder

A reference to this instance after the method is called.

Remarks

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

@(Html.DevExtreme().Chart()
    .AdjustOnZoom(true)
)
See Also