Click here to Skip to main content
15,923,051 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
What it wrong when Kendo UI chart zooming event.
I debug in zoom event when I mousewheel in KendoChart is not working and always return 0 value.
Sample from Telerik can zoom in & zoom out return -3,-2,-1 or 1,2,3.
Anyone can suggest how to get value the same with following sample.

Kendo UI Pan and Zoom Example:

My debug at dojo


1 solution

I got the solution. Thanks James

function onZoom(e) {
        var delta = 0;
        if (e.originalEvent) {
            if (e.originalEvent.wheelDelta) = e.originalEvent.wheelDelta / -40;
            if (e.originalEvent.deltaY) = e.originalEvent.deltaY;
            if (e.originalEvent.detail) = e.originalEvent.detail;
        delta =;
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900