Example of Timeline API in ASP.NET Core Gantt Control
This sample demonstrates how the Gantt Chart schedules project tasks using the UTC timezone, ensuring consistent date and time handling across global teams.
ID | Name | Start Date | End Date | Duration | Dependency | Progress |
---|---|---|---|---|---|---|
1 | Project schedule | 2/10/2025 | 3/7/2025 | 20 days | 49 | |
2 | Planning | 2/10/2025 | 2/14/2025 | 5 days | 100 | |
3 | Plan timeline | 2/10/2025 | 2/14/2025 | 5 days | 100 | |
4 | Plan budget | 2/10/2025 | 2/14/2025 | 5 days | 100 | |
5 | Allocate resources | 2/10/2025 | 2/14/2025 | 5 days | 100 | |
6 | Planning complete | 2/14/2025 | 2/14/2025 | 0 days | 3FS | 100 |
7 | Design | 2/17/2025 | 2/21/2025 | 5 days | 85 | |
8 | Software specification | 2/17/2025 | 2/19/2025 | 3 days | 6FS | 60 |
9 | Develop prototype | 2/17/2025 | 2/19/2025 | 3 days | 6FS | 100 |
10 | Get approval from customer | 2/20/2025 | 2/21/2025 | 2 days | 9FS | 100 |
11 | Design complete | 2/21/2025 | 2/21/2025 | 0 days | 10FS | 0 |
12 | Implementation phase | 2/24/2025 | 3/7/2025 | 10 days | 12 | |
13 | Phase 1 | 2/24/2025 | 3/5/2025 | 7 days | 16 | |
14 | Implementation module 1 | 2/24/2025 | 3/5/2025 | 7 days | 16 | |
15 | Development task 1 | 2/24/2025 | 2/26/2025 | 3 days | 11FS | 50 |
17 | Testing | 2/25/2025 | 2/26/2025 | 2 days | 15FS | 0 |
18 | Bug fix | 3/3/2025 | 3/4/2025 | 2 days | 17FS | 0 |
19 | Customer review meeting | 3/3/2025 | 3/4/2025 | 2 days | 18FS | 0 |
20 | Phase 1 complete | 3/5/2025 | 3/5/2025 | 0 days | 19FS | 0 |
21 | Phase 2 | 2/24/2025 | 3/5/2025 | 8 days | 20 | |
22 | Implementation module 2 | 2/24/2025 | 3/5/2025 | 8 days | 20 | |
24 | Development task 2 | 2/24/2025 | 2/27/2025 | 4 days | 50 | |
25 | Testing | 2/26/2025 | 2/27/2025 | 2 days | 0 | |
26 | Bug fix | 2/28/2025 | 3/3/2025 | 2 days | 25FS | 0 |
27 | Customer review meeting | 3/4/2025 | 3/5/2025 | 2 days | 26FS | 0 |
28 | Phase 2 complete | 3/5/2025 | 3/5/2025 | 0 days | 27FS | 0 |
29 | Phase 3 | 2/25/2025 | 3/7/2025 | 9 days | 0 | |
14 | Implementation module 1 | 2/24/2025 | 3/6/2025 | 9 days | 16 | |
15 | Development task 1 | 2/24/2025 | 2/26/2025 | 3 days | 11FS | 50 |
17 | Testing | 2/27/2025 | 2/28/2025 | 2 days | 15FS | 0 |
18 | Bug fix | 3/3/2025 | 3/4/2025 | 2 days | 17FS | 0 |
19 | Customer review meeting | 3/5/2025 | 3/6/2025 | 2 days | 18FS | 0 |
20 | Phase 1 complete | 3/6/2025 | 3/6/2025 | 0 days | 19FS | 0 |
37 | Integration | 3/7/2025 | 3/11/2025 | 3 days | 20FS | 0 |
38 | Final testing | 3/12/2025 | 3/13/2025 | 2 days | 37FS | 0 |
39 | Final delivery | 3/13/2025 | 3/13/2025 | 0 days | 38FS | 0 |
Feb 05, 2025 | Feb 09, 2025 | Feb 16, 2025 | Feb 23, 2025 | Mar 02, 2025 | Mar 09, 2025 | Mar 16, 2025 |
---|
W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S |
---|
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.
enableMultiTaskbar allows you to display multiple taskbars within a parent row, ensuring a clear overview even in collapsed states.
More information on the Essential® JS2 Gantt Chart can be found in this documentation section.