This is a migrated thread and some comments may be shown as answers.

Zoom In/Zoom Out limits funct

1 Answer 170 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Muhammad Ammar
Top achievements
Rank 1
Muhammad Ammar asked on 10 Jul 2020, 08:12 AM

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"
        }
    },
                    

1 Answer, 1 is accepted

Sort by
0
Silviya Stoyanova
Telerik team
answered on 14 Jul 2020, 07:48 AM

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

Tags
Charts
Asked by
Muhammad Ammar
Top achievements
Rank 1
Answers by
Silviya Stoyanova
Telerik team
Share this question
or