Example of Timeline API in ASP.NET MVC Gantt Chart Control
This sample allows you to customize the Gantt chart timeline by adjusting the timeline unit size, header text format, and count for both the top and bottom tiers, and provides an option to enable the multitaskbar feature.
Timeline Unit Size
|
|
Top tier |
|
Count |
|
Unit
|
|
Format
|
|
Bottom tier
|
|
Count
|
|
Unit
|
|
Format
|
|
Enable multitaskbar |
|
This example demonstrates how to effectively customize the timeline settings of a Gantt chart.
You can customize the timeline width by adjusting the timelineunitsize property
in timelineSettings.
The Gantt chart supports various timeline units such as minutes
, hours
, days
, weeks
, months
, and years
.
You can easily customize these units by changing the unit for both top tier and bottom tier in timelineSettings
.
The format of the timeline can be customized by modifying the format value for both the top and bottom tiers.
You can combine timeline cells in the top and bottom tiers using the count property in timelineSettings
.
Tooltips are visible by default in the Gantt chart timeline, You can customize the tooltip visiblity by using the showtooltip property in the timeline settings.
enableMultiTaskbaropens in a new tab allows you to display multiple taskbars within a parent row, ensuring a clear overview even in collapsed states.