New to Telerik UI for ASP.NET MVC? Download free 30-day trial

ChartMousewheelZoomBuilder

Methods

Lock(Kendo.Mvc.UI.ChartAxisLock)

Lock the specified axis during zooming.

Parameters

axisLock - ChartAxisLock

Example


            @(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


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

In this article
Not finding the help you need?