This sample explains the way of rendering tooltip template for taskbar and baseline by mapping template elements to the property of taskbar and baseline in tooltipSettings.
ID | Name | Start Date | End Date | Duration | Dependency | Progress | Baseline Start Date | Baseline End Date | Resources |
---|---|---|---|---|---|---|---|---|---|
1 | Project initiation | 4/2/2024 | 4/5/2024 | 4 days | 0 | ||||
2 | Identify site location | 4/2/2024 | 4/2/2024 | 0 days | 30 | 4/2/2024 | 4/2/2024 | Martin Tamer | |
3 | Perform soil test | 4/2/2024 | 4/5/2024 | 4 days | 2FS | 0 | 4/1/2024 | 4/4/2024 | Rose Fuller |
4 | Soil test approval | 4/5/2024 | 4/5/2024 | 0 days | 3FS | 30 | 4/6/2024 | 4/6/2024 | |
5 | Project estimation | 4/8/2024 | 4/15/2024 | 6 days | 15 | ||||
6 | Develop floor plan for estimation | 4/8/2024 | 4/10/2024 | 3 days | 4FS | 30 | 4/5/2024 | 4/7/2024 | |
7 | List materials | 4/11/2024 | 4/15/2024 | 3 days | 6FS | 0 | 4/9/2024 | 4/12/2024 | Fuller King |
8 | Estimation approval | 4/15/2024 | 4/15/2024 | 0 days | 7FS | 0 | 4/16/2024 | 4/16/2024 | Construction Supervisor |
9 | Sign contract | 4/16/2024 | 4/16/2024 | 1 day | 8FS | 30 | 4/16/2024 | 4/17/2024 | Construction Supervisor |
10 | Project approval and kick off | 4/16/2024 | 4/16/2024 | 0 days | 9FS | 0 | 4/17/2024 | 4/17/2024 | |
11 | Site work | 4/17/2024 | 4/22/2024 | 4 days | 15 | ||||
12 | Clear the building site | 4/17/2024 | 4/18/2024 | 2 days | 9FS | 30 | 4/16/2024 | 4/18/2024 | |
13 | Install temporary power service | 4/19/2024 | 4/22/2024 | 2 days | 12FS | 0 | 4/17/2024 | 4/19/2024 |
Mar 24, 2024 | Mar 31, 2024 | Apr 07, 2024 | Apr 14, 2024 | Apr 21, 2024 | Apr 28, 2024 |
---|
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 |
---|
Tooltip can be enabled or disabled using tooltipSettings.showTooltip property.In this demo, the tooltip template is rendered for taskbar
and baseline
using the tooltipSettings.taskbar and tooltipSettings.baseline properties.
The baseline feature enables the user to view the deviation between the planned dates and the actual dates of the tasks in a project. Baselines can be enabled in Gantt chart by enabling the renderBaseline property along with mapping the data source values for baselineStartDate
and baselineEndDate
properties.
Gantt control 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.