The current Views (Day/Week/Month/Year) are nice, but custom zooming is needed sometimes.
6 comments
René
Posted on:21 Jun 2022 06:45
Hello Hristian, by "the timeline should be zoomed in a way that all entries in the (filtered !) List should be fully visible" I mean that the zooming factor should always be calculated in a way that all currently displayed entries should be fully visible in the timeline.
Example: In the whole list there are tasks covering a timespan of 3 month so "zoom to fit" should display a timeline of 3 month. If I now filter the list of entries and the filtered tasks cover only a timespan of 1 month, "zoom to fit" should only display a timeline of 1 month.
ADMIN
Hristian Stefanov
Posted on:13 Jun 2022 08:01
Hi Benjamin,
Thank you for giving us feedback on the item and overall expectations.
I will reach out to our development team and share the latest information from here. You can keep tracking this item for further updates.
Regards,
Hristian Stefanov
Progress Telerik
Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.
When you click the zoom to fit button the Gantt will remove the unused space before and earliest start date and after the latest end date. This is the designed behavior of the feature. I am sure I understood the filtered entries part of your post, could you follow up with some more information?
I don't regard this as "Completed". At first I was glad to find this demo here: https://demos.telerik.com/blazor-ui/gantt/zooming but The "Zoom to Fit" Button there does not do what Ivan described.
What it does is setting the "GanttRangeSnapTo" Parameter to "MinorSlot". I don't know what exactly this is supposed to mean but what it does does not seem usefull to me. Like Ivan wrote: My understanding of "Zoom to Fit" is that the timeline should be zoomed in a way that all entries in the (filtered !) List should be fully visible (and there should not be unused space).
Ivan
Posted on:15 Nov 2021 21:15
I will describe in more detail about the zoom to fit function. When enabled, the display of tasks in the timeline panel must start from the minimum date from the list of tasks and end with the maximum date. There should be no empty space on the left and right.