zoomEnd

Fires when the user stops zooming the chart.

Example

<div id="sparkline"></div>
<script>
$("#sparkline").kendoSparkline({
    type: "line",
    series: [{
        data: [10, 15, 8, 12, 18, 5, 22, 14]
    }],
    zoomEnd: function(e) {
        console.log("Zoom ended");
        console.log("Final axis ranges:", e.axisRanges);
    }
});
</script>

Event Data

e.axisRanges Object

A hastable containing the final 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 zoom action.

In this article
zoomEnd
Not finding the help you need?
Contact Support