Skip to main content

Prerequisites

  • Nextedy GANTT version 4.0.0 or newer
  • Access to widget parameter editing on your Gantt page

Step 1: Set Duration Precision to High

  1. Open the page containing your Gantt chart in edit mode.
  2. Open Widget Properties > Data Mapping > Duration Precision.
  3. Change the value from Standard (Days) to High (Hours).
After this change, the Gantt manages durations as fractions of hours instead of whole days.

Step 2: Set the Time Scale to Hours

When working with high duration precision, you should set the default scale to display hours:
  1. In Widget Properties > Scale, select H (hours).
  2. Save the widget properties.
The Gantt chart header now displays individual hours, giving you visibility into sub-day task placement.

Step 3: Enable Working Time

High-precision scheduling requires working time awareness so the Gantt correctly accounts for working hours in duration calculations:
  1. In Widget Properties > Advanced > Working Time, set the value to YES.
This ensures the Gantt skips non-working hours when computing task durations.

Step 4: Verify Field Types

Review your field configuration to ensure compatibility with hour-precision mode:
FieldRecommended TypeNotes
Duration FieldDuration (initialEstimate) or FloatValue now represents hours, not days
Start/End Date FieldsDateTime (not Date)Required for sub-day precision
If your duration field points to an Integer, Float, or String field, existing values are reinterpreted as hours after switching precision. For example, a stored value of 8 previously meant 8 days but now means 8 hours (1 working day).
If your start/end date fields currently use a custom field of type Date, change them to DateTime to capture hour-level precision. Plain Date fields only store day-level values and cannot represent specific hours.

Configuration Summary

Widget ParameterValueLocation
Duration PrecisionHigh (Hours)Widget Properties > Data Mapping
ScaleHWidget Properties > Scale
Working TimeYESWidget Properties > Advanced

Impact on Resource View

When you enable high-precision scheduling, the resource view calculates load at the hour level. You can customize working hours per resource using the workingHoursPerDay property in Administration > Configuration Properties or via the Gantt Config Script:
gantt.config.workingHoursPerDay = 7;
For per-resource working hours, define a custom function in Widget Properties > Advanced > Gantt Config Script:
gantt.config.workingHoursPerDayFunction = (resource) => {
  if (resource === "rProject") {
    return 4;
  }
  return 8;
};
For the most accurate resource load calculations in hour mode, enable working calendars under Widget Properties > Working Calendars. This ensures the Gantt respects per-user availability, time off, and schedule tweaks when computing hour-level capacity.

Verification

You should now see:
  • Task durations displayed in hours (e.g., 4h instead of 1d)
  • The Gantt chart header showing hourly intervals
  • Task bars snapping to hour-level positions when dragged
  • Resource view displaying hourly capacity and load values

See Also

KB ArticlesSupport TicketsSource Code
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/model/Config.java
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/polarion-config/custom fields/scheduletweak-custom-fields.xml
  • prod-gantt-src/com.nextedy.polarion.gantt.client/src/js/main.js
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/polarion-config/enums/workitem-type-enum.xml
  • prod-gantt-src/com.nextedy.polarion.gantt/src/com/nextedy/polarion/gantt/projectCalendar/Day.java