Default Tooltip Behavior
The Gantt chart provides several types of tooltips out of the box:| Element | Tooltip Content | Trigger |
|---|---|---|
| Task bars | Task title, dates, assignee, duration | Hover over a task bar |
| Toolbar buttons | Action description | Hover over a toolbar button |
| Milestone markers | Marker name and due date (format: Milestone: <name>, Due Date: YYYY-MM-DD) | Hover over a milestone marker line |
| Today marker | Current date (format: Today: YYYY-MM-DD) | Hover over the today marker line |
| Grid column headers | Full column name | Hover over a truncated column header |
| Footer filter indicator | Active filter description (resource, date range, text) | Hover over the filter icon in the footer |
Step 1: Add Custom Fields to Task Tooltips
Customizing task bar tooltips requires two scripts working together: an Item Script to populate the data and a Gantt Config Script to render it. First, add the data fields in Widget Properties > Advanced > Item Script:Step 2: Customize Milestone Marker Tooltips
Milestone marker tooltips display automatically when you hover over a marker line on the timeline. The tooltip shows the marker name and due date in the following format:title and date properties of each marker. To customize marker content, configure your markers with descriptive titles. See Create and Configure Markers for details.
Step 3: Understand Footer Tooltips
The Gantt footer displays a row count indicator (e.g.,Rows: 4 of 10). When filters are active, a filter icon appears. Hovering over this icon shows a tooltip summarizing all active filters:
- Closed items filter: How many tasks are hidden because they are resolved
- Date range filter: The active start/end date range limiting visible tasks
- Text filter: The current search string and how many tasks it hides
- Resource filter: The active resource name and hidden task count
- Marker filter: Which marker is scoping the visible date range
Disabling Tooltips
To disable task bar tooltips entirely, add the following to the Gantt Config Script:The exact property name to disable tooltips may vary by version. Test in your environment after applying the change.
Verification
You should now see customized tooltip content when hovering over task bars in the Gantt chart. The tooltip displays the fields you configured in the Item Script, formatted according to your Gantt Config Script template. Milestone markers show their name and due date, and the footer tooltip describes any active filters.See Also
- Write Item Scripts
- Write Gantt Config Scripts
- Create and Configure Markers
- Use Gantt Filters
- Filter by Resource and Allocation
Sources
Sources
KB Articles
- How to disable linking in the gantt chart?
- Gantt - Configuration Properties and default values
- Gantt configuration index
prod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/GanttFilterByResourceMarker.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/tooltips.jsprod-gantt-src/com.nextedy.polarion.gantt.client/cypress/e2e/milestones/milestone-tooltip-date.cy.tsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/lib/tooltipProvider.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/gantt.js