ChartMousewheelZoomBuilder

Methods

Lock(Kendo.Mvc.UI.ChartAxisLock)

Lock the specified axis during zooming.

Parameters

axisLock - ChartAxisLock

Example

Razor
 
            @(Html.Kendo().Chart()
                    .Name("chart")
                    .Zoomable(zoom => zoom.
                        Mousewheel(mousewheel => mousewheel.Lock(ChartAxisLock.Y)))
            )
             

Rate(System.Double)

Specifies the zoom rate as percentage of the axis range. The default value is 0.3 or 30% of the axis range.

Parameters

value - System.Double

The value for Rate

Example

Razor
 
            @(Html.Kendo().Chart()
                    .Name("chart")
                    .Zoomable(zoom => zoom.
                        Mousewheel(mousewheel => mousewheel.Rate(0.1)))
            )