ChartSelectionZoomBuilder

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.Selection(select => select.Lock(ChartAxisLock.Y)))
            )
             

Key(Kendo.Mvc.UI.ChartActivationKey)

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

Parameters

key - ChartActivationKey

The key of a zooming of a chart selection.

Example

Razor
 
            @(Html.Kendo().Chart()
                    .Name("chart")
                    .Zoomable(zoom => zoom.Selection(select => select.Key(ChartActivationKey.Ctrl)))
            )