This page has thin source coverage. Some behaviors described here are based on code analysis and may vary by version. Verify settings in your application.
Understanding the Max Items Limit
The Gantt widget limits the number of work items loaded from the server to prevent performance degradation with large data sets. When the query returns more items than the configured maximum, excess items are skipped and not displayed on the chart. The default limit is 100 items.Configure Max Items Per Widget
Set the Max Items widget parameter on your Gantt widget to control how many items are loaded:- Open your Gantt page in Edit mode.
- In the widget parameter sidebar, locate the Max Items field.
- Enter the desired maximum number of items (for example,
200or500). - Click Apply to save the change.
Configure the System-Wide Default
Administrators can set the default max items value for all new Gantt widgets using a configuration property in Administration > Configuration Properties:Load Information Indicators
When the Gantt loads data, it tracks several metrics about the loading process:| Metric | Description |
|---|---|
| Items | Total number of work items loaded and displayed |
| Skipped | Items that exceeded the max items limit |
| Filtered | Items removed by active filters (time range, resource, etc.) |
| Hidden | Items hidden due to collapsed parent rows |
| Unresolvable | Items that could not be read (permissions or data issues) |
| Errors | Count of items that encountered loading errors |
| Server load time | Time taken by the server to process the data request |
Choosing the Right Value
Consider these factors when setting the max items limit:- Performance: Higher values increase page load time and memory usage. Charts with hundreds of items may become slow to render and interact with.
- Usability: Very large charts are difficult to navigate visually. Consider using filters or dynamic queries to narrow the data set instead of increasing the limit.
- Server load: Each additional item requires server-side processing for date calculations, resource allocation, and dependency resolution.
Verification
After configuring the max items parameter, you should now see:- The Gantt chart loading up to the specified number of items.
- The footer row count reflecting the loaded items versus the total query results.
- A funnel icon in the footer if items were skipped due to the max items limit.
See Also
- Use Gantt Filters
- Use Dynamic Queries with Page Parameters
- Troubleshooting Performance Issues
- Configure the Toolbar and Menus
Sources
Sources
Source Code
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Config.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/WorkItemsGanttWidget.javaprod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/LoadInfo.java