Edit this page

zoomEnd

Fired when the user stops zooming the chart.

The event handler function context (available via the this keyword) will be set to the widget instance.

Event Data

e.axisRanges Object

A hastable containing the initial range (min and max values) of named axes. The axis name is used as a key.

e.originalEvent Object

The original user event that triggered the zoomEnd action.

e.sender kendo.dataviz.ui.Chart

The widget instance which fired the event.

Example - subscribe to the "zoomEnd" event during initialization

<div id="chart"></div>
<script>
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ],
  zoomEnd: function(e) {
    console.log("zoomEnd");
  }
});
</script>

Example - subscribe to the "zoomEnd" event after initialization

<div id="chart"></div>
<script>
function chart_zoomEnd(e) {
  console.log("zoomEnd");
}
$("#chart").kendoChart({
  series: [
    { data: [1, 2] }
  ]
});
var chart = $("#chart").data("kendoChart");
chart.bind("zoomEnd", chart_zoomEnd);
</script>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy