Zoom In/Zoom Out limits funct

2 posts, 0 answers
  1. Muhammad Ammar
    Muhammad Ammar avatar
    1 posts
    Member since:
    Jul 2020

    Posted 10 Jul Link to this post

    Hi!

    I have a simple bar chart with Kendo's built-in zoom/pan functionality. When I keep on zooming out, the bars get close to each other and the category axis labels merge. Is there any way to set Zoom In / Zoom Out limits so the chart doesn't get merged. This is what I am using for pan and zoom:

     

    pannable : {
        lock : "x"
        },
    zoomable : {
        mousewheel : {
            lock : "x"
            },
        selection : {
            lock : "x"
            }
        },
                        
  2. Silviya Stoyanova
    Admin
    Silviya Stoyanova avatar
    66 posts

    Posted 14 Jul Link to this post

    Hello Muhammad,

    You can achieve your goal by using the zoom event as it is shown in the custom zoom demo:

     Let me know if you have additional questions.

    Kind Regards,
    Silviya Stoyanova
    Progress Telerik

Back to Top