\Kendo\Dataviz\UI\ChartZoomable

A PHP class representing the zoomable setting of Chart.

Methods

mousewheel

Specifies if the chart can be zoomed using the mouse wheel.

Returns

\Kendo\Dataviz\UI\ChartZoomable

Parameters

$value boolean|\Kendo\Dataviz\UI\ChartZoomableMousewheel|array

Example - using boolean

<?php
$zoomable = new \Kendo\Dataviz\UI\ChartZoomable();
$zoomable->mousewheel(true);
?>

Example - using \Kendo\Dataviz\UI\ChartZoomableMousewheel

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

Example - using array

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

selection

Specifies if the chart can be zoomed using selection.

Returns

\Kendo\Dataviz\UI\ChartZoomable

Parameters

$value boolean|\Kendo\Dataviz\UI\ChartZoomableSelection|array

Example - using boolean

<?php
$zoomable = new \Kendo\Dataviz\UI\ChartZoomable();
$zoomable->selection(true);
?>

Example - using \Kendo\Dataviz\UI\ChartZoomableSelection

<?php
$zoomable = new \Kendo\Dataviz\UI\ChartZoomable();
$selection = new \Kendo\Dataviz\UI\ChartZoomableSelection();
$key = 'value';
$selection->key($key);
$zoomable->selection($selection);
?>

Example - using array

<?php
$zoomable = new \Kendo\Dataviz\UI\ChartZoomable();
$key = 'value';
$zoomable->selection(array('key' => $key));
?>
In this article
Not finding the help you need?