Zooming in Timeline View

Hi,
is possible zooming from a minimum unit (15 minutes) to the week / month / year in timeline view?  

6 Replies

KA Karthikraja Arumugam Syncfusion Team February 24, 2021 04:23 AM UTC

Hi Ondrej, 
 
Greetings from Syncfusion. 
 
We have checked your query and in SfScheduler you can achieve your requirement by setting TimeInterval property of TimelineViewSettings. Since TimeInterval is in minutes, you need to change the time labels format by setting TimeRulerFormat property as required. 
 
Please refer the below code example, 
 
this.scheduler.TimelineViewSettings.TimeInterval = new TimeSpan(0, 15, 0); 
this.scheduler.TimelineViewSettings.TimeRulerFormat = "hh:mm"; 
 
 
You can also refer our UG documentation for the same, 
 
We hope this helps. Please let us know if you require any further assistance. 
 
Regards, 
Karthik Raja A 



ON Ondrej February 24, 2021 01:39 PM UTC

Hi,
thanks for quick response. This settings works only if sets minutes or hours. I need change scale of timeline, so that the user could see weeks and months in single timeline view.

For example the single appointment block starts at 01/01/2021 08.15 AM and ends at 03/01/2021 06.30 PM (MM/DD/YYYY)


KA Karthikraja Arumugam Syncfusion Team February 25, 2021 01:25 PM UTC

Hi Ondrej, 
 
Thank you for the update. 
 
We suspect that your requirement is to reduce the TimelineView TimeSlot width, this can be achieved by using TimeIntervalSize property of TimelineViewSettings. 
 
Please refer the below code example, 
 
this.scheduler.TimelineViewSettings.TimeIntervalSize = 30; 
 
Kindly refer the below UG link for the same, 
 
Note: On reducing TimeSlot cell width we need to handle time ruler format also, since the available width for time ruler may be smaller than time text value. Kindly refer below UG documentation to know more about TimeRuler customization. 
 
Please let us know if you require any further assistance. 
 
Regards, 
Karthik Raja A 



ON Ondrej March 4, 2021 11:01 PM UTC

Hi,
I think the ruler works only with minutes and hours and there is no possible to do bigger zoom. I would need zoom functionality similiar like in gantt control.

Regards

Ondrej


KA Karthikraja Arumugam Syncfusion Team March 8, 2021 04:04 AM UTC

Hi Ondrej, 
 
Thank you for the update. 
 
Currently, we are checking the requested feature. We will check and update you the further details on March 8, 2021. We appreciate your patience until then. 
 
Regards, 
Karthik Raja A 



SS SaiGanesh Sakthivel Syncfusion Team March 8, 2021 04:08 AM UTC

Hi Ondrej, 
 
Thank you for the patience. 
 
We have analyzed your requirement of “Provide a Zooming support for Timeline View in SfScheduler”, as of now schedule doesn’t have the support for the same. We have already logged a feature request for the same. We will implement this feature in any of our upcoming release.  
 
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then. 
 
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts. 
 
 
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count. 
 
Regards, 
SaiGanesh Sakthivel 


Loader.
Up arrow icon