\Kendo\Dataviz\UI\ChartZoomableMousewheel

A PHP class representing the mousewheel setting of ChartZoomable.

Methods

lock

Specifies an axis that should not be zoomed. The supported values are none, x and y.

Returns

\Kendo\Dataviz\UI\ChartZoomableMousewheel

Parameters

$value string

Example

<?php
$mousewheel = new \Kendo\Dataviz\UI\ChartZoomableMousewheel();
$mousewheel->lock('value');
?>

rate

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

Returns

\Kendo\Dataviz\UI\ChartZoomableMousewheel

Parameters

$value float

Example

<?php
$mousewheel = new \Kendo\Dataviz\UI\ChartZoomableMousewheel();
$mousewheel->rate(1);
?>
In this article
Not finding the help you need?