Blazor Gantt Chart Example - Timeline Zooming

Gantt Chart / Timeline / Zooming

This sample demonstrates the built-in zooming functionality of Gantt Chart. You can zoom in or zoom out the project timeline dynamically with the following toolbar buttons.

  • ZoomIn - To perform zoom-in action on Gantt Chart timeline.
  • ZoomOut - To perform zoom-out action on Gantt Chart timeline.
  • ZoomToFit - To show all tasks with timeline fit into available Chart width.

Loading Syncfusion Blazor Server Demos…

The zooming feature enables you to view the tasks in the project clearly from minute to year timespan. You need to include ZoomIn, ZoomOut, and ZoomToFit buttons in the toolbar for performing zooming actions in Gantt Chart.

  • ZoomIn - If the user clicks on the ZoomIn icon, the timeline cell width is increased. When the cell size exceeds the specified range, the timeline view mode is changed.
  • ZoomOut - If the user clicks on the ZoomOut icon, the timeline cell width is decreased. When the cell size falls behind the specified range, the timeline view mode is changed based on the zooming levels.
  • ZoomToFit - If tasks are rendered in different time ranges, clicking the ZoomToFit icon renders all the tasks within the current viewable chart container width.

More information about Zooming in Gantt Chart can be found in this documentation section.

Transform your Blazor web apps today with Syncfusion® Blazor components
145+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE