Example of Tooltip Template in ASP.NET Core Gantt Chart Control

Gantt Chart
Templates
Tooltip Template

This sample explains the way of rendering tooltip template for taskbar, timeline and baseline by mapping template elements to the property of taskbar, timeline and baseline in tooltipSettings.

1
Project initiation
4/2/20244/5/20244 days01/1/19011/1/1901
2
Identify Site location
4/2/20244/2/20240 days304/2/20244/2/2024Martin Tamer
3
Perform soil test
4/2/20244/5/20244 days2FS04/1/20244/4/2024Rose Fuller
4
Soil test approval
4/5/20244/5/20240 days3FS304/6/20244/6/2024
5
Project estimation
4/8/20244/15/20246 days151/1/19011/1/1901
6
Develop floor plan for estimation
4/8/20244/10/20243 days4FS304/5/20244/7/2024Fuller King
7
List materials
4/11/20244/15/20243 days6FS04/9/20244/12/2024Fuller King
8
Estimation approval
4/15/20244/15/20240 days7FS04/16/20244/16/2024Construction Supervisor
9
Sign contract
4/16/20244/16/20241 day8FS304/16/20244/17/2024Construction Supervisor
10
Project approval and kick off
4/16/20244/16/20240 days9FS04/17/20244/17/2024
11
Site wwork
4/17/20244/22/20244 days151/1/19011/1/1901
12
Clear the building site
4/17/20244/18/20242 days9FS304/16/20244/18/2024
13
Install temporary power service
4/19/20244/22/20242 days12FS04/17/20244/19/2024
Project initiation
Identify Site location
Martin Tamer
Perform soil test
Rose Fuller
Soil test approval
Project estimation
Develop floor plan for estimation
Fuller King
List materials
Fuller King
Estimation approval
Construction Supervisor
Sign contract
Construction Supervisor
Project approval and kick off
Site wwork
Clear the building site
Install temporary power service

Tooltip can be enabled or disabled using tooltipSettings.showTooltip property. In this demo, the tooltip template is rendered for taskbar, taskbar and baseline using the tooltipSettings.taskbar, tooltipSettings.timeline 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.

Transform your ASP.NET Core web apps today with Syncfusion® ASP.NET Core components
100+ high-performance and responsive UI components
Dedicated support
Hassle-free licensing
TRY IT FOR FREE
opens in a new tab