Only one Gantt widget (Work Items or Plans) is supported per Polarion wiki page.
Core Parameters
Parameter Type Default Description PlansDataset See application Standard Polarion dataset parameter. Select which plans to display using query, collection, or scope. Sort byString idSort criteria for top-level plan items. Load ChildrenInteger 0Number of child plan levels to traverse and add. 0 means only top-level plans are shown. Show UnplannedBoolean trueWhen yes, plans without start dates are shown at today’s date in gray. When no, they are hidden. ScaleEnum WTimeline scale unit. Values: H (hour), DD (bi-daily), D (day), W (week), M (month), Y (year), YY (multi-year).
Plans typically span longer time ranges than individual work items. Use W (week), M (month), or Y (year) scale for better readability of plan-level scheduling.
Show Plan Work Item Section
When enabled, work items belonging to each plan are displayed beneath the plan bar in the Gantt hierarchy.
Parameter Type Default Description Enable Show ItemsBoolean falseEnables displaying work items within plans on the Gantt chart. Start FieldString See application Work item field storing the task start date (when showing plan work items). End FieldString See application Work item field storing the task end date. Duration FieldString See application Work item field storing the task duration. Progress FieldString See application Work item field storing the task progress (0.0 to 1.0). Parent RoleMulti-select (link roles) Empty Link roles for parent-child hierarchy among work items within a plan. Dependency RoleMulti-select (link roles) Empty Link roles for dependency arrows among work items within a plan.
Advanced Parameters
Parameter Type Default Description Maximize ViewBoolean falseExpands the Gantt widget to fill the full working area. Hide ToolbarBoolean falseHides the toolbar. Implicitly enables always-edit mode. Drag ChildrenBoolean trueRescheduling a parent plan also moves child plans by the same offset. Max ItemsInteger 100Maximum number of plans loaded into the Gantt view. Progress ColoringBoolean trueColor-codes plan bars based on progress percentage. Working TimeBoolean See application Enables legacy working time mode (weekends as non-working). For advanced calendar features, use the Working Calendars section instead.
Scripting Parameters
Parameter Type Default Description Gantt Config ScriptScript Empty Client-side JavaScript for advanced configuration. See Gantt Config Script API . Item ScriptScript Empty Server-side JavaScript per plan item for custom decoration. See Item Script API . Markers ScriptScript Empty Server-side JavaScript for creating timeline markers. See Marker Factory API .
The Sort by parameter controls the order of top-level plan items, but custom sorting options for plans are more limited than for work items. Plans cannot be sorted via the same parameter-based mechanisms available in the Work Items Gantt.
Configuration Example
A typical Plans Gantt configuration for release and iteration planning:
Plans : Query selecting all plans with template Release
Load Children : 2 (to show iterations under releases and work items under iterations)
Enable Show Items : true
Start Field : gantt_start
Duration Field : gantt_duration
Parent Role : parent
Dependency Role : depends_on
Scale : M
Maximize View : true
Administration Defaults
Plans Gantt widget parameter defaults can be set in Administration > Configuration Properties :
Property Default Description nextedy.gantt.plans.default.sort_byidDefault sort field nextedy.gantt.plans.default.expand_level0Default child levels nextedy.gantt.plans.default.show_unplannedtrueDefault show unplanned nextedy.gantt.default.plans.scaleWDefault scale nextedy.gantt.plans.default.maximize_viewfalseDefault maximize nextedy.gantt.plans.default.hide_toolbarfalseDefault hide toolbar nextedy.gantt.plans.default.progress_coloringtrueDefault progress coloring nextedy.gantt.plans.default.drag_childrentrueDefault drag children
See Also
KB Articles Support Tickets Source Code
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/impl/types/TypeConfigWidgetParameters.java
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidgetConfig.java
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/GanttWidget.java
prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/widget/PlansGanttWidget.java
prod-gantt-src/com.nextedy.polarion.gantt/webapp/pageparams/pageparams.html