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

Defines the fluent interface for configuring the chart mouse wheel zoom options.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartMousewheelZoomBuilder

Inheritance: objectChartMousewheelZoomBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the ChartMousewheelZoomBuilder class.

C#
public ChartMousewheelZoomBuilder(ChartMousewheelZoom mousewheelZoom)
Parameters:mousewheelZoomChartMousewheelZoom

The ChartMousewheelZoom settings.

Methods

Lock the specified axis during zooming.

C#
public ChartMousewheelZoomBuilder Lock(ChartAxisLock axisLock)
Parameters:axisLockChartAxisLockReturns:

ChartMousewheelZoomBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("chart")
.Zoomable(zoom => zoom.
Mousewheel(mousewheel => mousewheel.Lock(ChartAxisLock.Y)))
)

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

C#
public ChartMousewheelZoomBuilder Rate(double value)
Parameters:valuedouble

The value for Rate

Returns:

ChartMousewheelZoomBuilder

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