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.
ID | Name | Start Date | End Date | Duration | Dependency | Progress |
---|---|---|---|---|---|---|
1 | Project schedule | 2/8/2024 | 3/13/2024 | 25 days | 48 | |
2 | Planning | 2/8/2024 | 2/14/2024 | 5 days | 100 | |
3 | Plan timeline | 2/8/2024 | 2/14/2024 | 5 days | 100 | |
4 | Plan budget | 2/8/2024 | 2/14/2024 | 5 days | 100 | |
5 | Allocate resources | 2/8/2024 | 2/14/2024 | 5 days | 100 | |
6 | Planning complete | 2/14/2024 | 2/14/2024 | 0 days | 3FS,4FS,5FS | 0 |
7 | Design | 2/15/2024 | 2/21/2024 | 5 days | 85 | |
8 | Software specification | 2/15/2024 | 2/19/2024 | 3 days | 6FS | 60 |
9 | Develop prototype | 2/15/2024 | 2/19/2024 | 3 days | 6FS | 100 |
10 | Get approval from customer | 2/20/2024 | 2/21/2024 | 2 days | 9FS | 100 |
11 | Design complete | 2/21/2024 | 2/21/2024 | 0 days | 10FS | 0 |
12 | Implementation phase | 2/22/2024 | 3/6/2024 | 10 days | 26 | |
13 | Phase 1 | 2/22/2024 | 3/5/2024 | 9 days | 25 | |
14 | Implementation module 1 | 2/22/2024 | 3/5/2024 | 9 days | 25 | |
15 | Development task 1 | 2/22/2024 | 2/26/2024 | 3 days | 11FS | 50 |
16 | Development task 2 | 2/22/2024 | 2/26/2024 | 3 days | 11FS | 50 |
17 | Testing | 2/27/2024 | 2/28/2024 | 2 days | 15FS,16FS | 0 |
18 | Bug fix | 2/29/2024 | 3/1/2024 | 2 days | 17FS | 0 |
19 | Customer review meeting | 3/4/2024 | 3/5/2024 | 2 days | 18FS | 0 |
20 | Phase 1 complete | 3/5/2024 | 3/5/2024 | 0 days | 19FS | 0 |
21 | Phase 2 | 2/22/2024 | 3/6/2024 | 10 days | 28 | |
22 | Implementation Module 2 | 2/22/2024 | 3/6/2024 | 10 days | 28 | |
23 | Development task 1 | 2/22/2024 | 2/27/2024 | 4 days | 50 | |
24 | Development task 2 | 2/22/2024 | 2/27/2024 | 4 days | 50 | |
25 | Testing | 2/28/2024 | 2/29/2024 | 2 days | 23FS,24FS | 0 |
26 | Bug fix | 3/1/2024 | 3/4/2024 | 2 days | 25FS | 0 |
27 | Customer review meeting | 3/5/2024 | 3/6/2024 | 2 days | 26FS | 0 |
28 | Phase 2 complete | 3/6/2024 | 3/6/2024 | 0 days | 27FS | 0 |
29 | Phase 3 | 2/22/2024 | 3/5/2024 | 9 days | 25 | |
30 | Implementation module 3 | 2/22/2024 | 3/5/2024 | 9 days | 25 | |
31 | Development task 1 | 2/22/2024 | 2/26/2024 | 3 days | 50 | |
32 | Development task 2 | 2/22/2024 | 2/26/2024 | 3 days | 50 | |
33 | Testing | 2/27/2024 | 2/28/2024 | 2 days | 31FS,32FS | 0 |
34 | Bug fix | 2/29/2024 | 3/1/2024 | 2 days | 33FS | 0 |
35 | Customer review meeting | 3/4/2024 | 3/5/2024 | 2 days | 34FS | 0 |
36 | Phase 3 complete | 3/5/2024 | 3/5/2024 | 0 days | 35FS | 0 |
37 | Integration | 3/7/2024 | 3/11/2024 | 3 days | 20FS,28FS,36FS | 0 |
38 | Final testing | 3/12/2024 | 3/13/2024 | 2 days | 37FS | 0 |
39 | Final delivery | 3/13/2024 | 3/13/2024 | 0 days | 38FS | 0 |
Feb 03, 2024 | Feb 04, 2024 | Feb 11, 2024 | Feb 18, 2024 | Feb 25, 2024 | Mar 03, 2024 | Mar 10, 2024 | Mar 17, 2024 |
---|
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 | S | M | T | W | T | F |
---|
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. Injecting Module: Gantt control features are segregated into individual feature-wise modules. To use a selection, inject the Selection module using the Gantt.Inject(Selection) method. To use markers, inject the DayMarkers module using the Gantt.Inject(DayMarkers) method.