Prerequisites
- A Gantt widget placed on a Polarion LiveDoc or Wiki page
- Permission to edit widget parameters
Choose a Display Mode
The Gantt supports three display modes depending on how you want the widget to appear on the page:| Mode | Configuration | Behavior |
|---|---|---|
| Embedded (default) | No maximize or height set | Widget renders at its natural size within the page layout |
| Fixed height | Set the height widget parameter (pixels) | Widget renders at a specific pixel height, ignoring viewport size |
| Maximize | Set maximize = true | Widget expands to fill the entire browser viewport |
Enable Maximize Mode
- Open the Polarion page containing the Gantt widget
- Edit the widget properties
- Navigate to Advanced > Maximize and set it to Yes
- Save the page
Set a Fixed Height
If you want the Gantt to occupy a specific area on the page alongside other content:- Edit the widget properties
- Set the
heightwidget parameter to a pixel value (for example,600) - Leave
maximizeturned off
Features Unlocked by Maximize Mode
Enabling maximize mode provides access to features that are not available in embedded mode:- Page Parameters button ⚙️ — The
tb_parameterstoolbar button only appears when the Gantt is in maximized view. This button opens the Page Parameters panel, allowing users to modify query filters and other parameters without editing the page. - Session keep-alive — The Gantt starts a polling loop that keeps the Polarion session active while the chart is open, preventing session timeout during long planning sessions.
- Viewport-responsive resizing — The Gantt automatically adjusts its height when the browser window is resized to continue filling the full viewport.
Combine Maximize with Page Parameters
When you need both maximize mode and dynamic page parameters (for example, letting users select a version number to filter work items):- Add a Page Parameters widget to the page
- Add the Gantt widget to the page — keep
maximizeturned OFF initially - Add your page parameters and reference them in the Gantt query
- Test the page to confirm filtering works correctly
- Now enable Advanced > Maximize on the Gantt widget
You can also read page parameter values programmatically in an Item Script using:Replace
pageParamId with the ID of your page parameter.Verify Your Configuration
- Open the Polarion page containing the Gantt widget
- You should now see the Gantt chart filling the entire browser viewport
- The toolbar appears at the top with all configured buttons
- If you configured page parameters, the ⚙️ Settings button should be visible in the toolbar
- Resize the browser window — the Gantt should adjust its height automatically
See Also
- Configure Page Parameters for detailed page parameter setup
- Configure the Toolbar and Menus for toolbar button visibility
- Use Multiple Gantt Widgets for pages with multiple Gantt instances
- Print and Export to PNG for exporting the maximized view
Sources
Sources
KB ArticlesSource Code
prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/fullscreen.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/index.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/config.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/maximize.jsprod-gantt-src/com.nextedy.polarion.gantt.client/src/js/gantt.js