This sample demonstrates the way of binding self-referential flat data to the Gantt component.
ID | Name | Start Date | End Date | Duration | Dependency | Progress |
---|---|---|---|---|---|---|
1 | Project Schedule | 2/4/2025 | 3/24/2025 | 35 days | 64 | |
2 | Planning | 2/4/2025 | 2/11/2025 | 6 days | 75 | |
3 | Plan timeline | 2/4/2025 | 2/11/2025 | 6 days | 60 | |
4 | Plan budget | 2/4/2025 | 2/11/2025 | 6 days | 90 | |
5 | Allocate resources | 2/4/2025 | 2/11/2025 | 6 days | 75 | |
6 | Planning complete | 2/11/2025 | 2/11/2025 | 0 days | 3FS,4FS,5FS | 0 |
7 | Design | 2/12/2025 | 2/18/2025 | 5 days | 85 | |
8 | Software Specification | 2/12/2025 | 2/14/2025 | 3 days | 6FS | 60 |
9 | Develop prototype | 2/12/2025 | 2/14/2025 | 3 days | 6FS | 100 |
10 | Get approval from customer | 2/17/2025 | 2/18/2025 | 2 days | 9FS | 100 |
11 | Design complete | 2/18/2025 | 2/18/2025 | 0 days | 10FS | 0 |
12 | Implementation | 2/19/2025 | 3/4/2025 | 10 days | 75 | |
13 | Develop core modules | 2/19/2025 | 2/25/2025 | 5 days | 11FS | 80 |
14 | Integrate modules | 2/26/2025 | 3/4/2025 | 5 days | 13FS | 70 |
15 | Implementation complete | 3/4/2025 | 3/4/2025 | 0 days | 14FS | 0 |
16 | Testing | 3/5/2025 | 3/13/2025 | 7 days | 44 | |
17 | Unit testing | 3/5/2025 | 3/7/2025 | 3 days | 15FS | 50 |
18 | Integration testing | 3/10/2025 | 3/13/2025 | 4 days | 17FS | 40 |
19 | Test report | 3/13/2025 | 3/13/2025 | 0 days | 18FS | 0 |
20 | Deployment | 3/14/2025 | 3/19/2025 | 4 days | 25 | |
21 | Configure environment | 3/14/2025 | 3/17/2025 | 2 days | 19FS | 30 |
22 | Deploy application | 3/18/2025 | 3/19/2025 | 2 days | 21FS | 20 |
23 | Deployment verification | 3/19/2025 | 3/19/2025 | 0 days | 22FS | 0 |
24 | Client Review | 3/20/2025 | 3/24/2025 | 3 days | 23FS | 10 |
25 | Project Handover | 3/24/2025 | 3/24/2025 | 0 days | 24FS | 0 |
Jan 28, 2025 | Feb 02, 2025 | Feb 09, 2025 | Feb 16, 2025 | Feb 23, 2025 | Mar 02, 2025 | Mar 09, 2025 | Mar 16, 2025 | Mar 23, 2025 |
---|
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 | S | S | M | T | W | T | F | S | S | M | T | W | T | F | S |
---|
Gantt can be bound either to local or remote data services. The dataSource
property can be assigned either with the array of JavaScript objects or an instance of DataManager
.
In this demo, the array of self-referential flat data with parentID is assigned as data source to the Gantt.
Gantt component features are segregated into individual feature-wise modules. To use a selection and markers, inject the SelectionService
and DayMarkersService
into the @NgModule.providers
section respectively.
More information on the Essential® Angular Gantt Chart can be found in this documentation section.