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

Defines the fluent interface for configuring the chart selection zoom options.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class ChartSelectionZoomBuilder

Inheritance: objectChartSelectionZoomBuilder

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

Constructors

Creates a new instance of the ChartSelectionZoomBuilder class.

C#
public ChartSelectionZoomBuilder(ChartSelectionZoom selectionZoom)
Parameters:selectionZoomChartSelectionZoom

The selection zoom settings.

Methods

Set the key that shuold be pressed to activate selection zooming.

C#
public ChartSelectionZoomBuilder Key(ChartActivationKey key)
Parameters:keyChartActivationKey

The key of a zooming of a chart selection.

Returns:

ChartSelectionZoomBuilder

Example:
C#
@(Html.Kendo().Chart()
.Name("chart")
.Zoomable(zoom => zoom.Selection(select => select.Key(ChartActivationKey.Ctrl)))
)

Lock the specified axis during zooming.

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

ChartSelectionZoomBuilder

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