Our state of the art Gantt chart


Post by harmankaur »

If each working day has different working hours, what should be
hoursPerDay and daysPerMonth in projectConfig

Also if we change calendar interval for non working days, do we need to update daysPerWeek and daysPerMonth in projectConfig


Post by arcady »

The settings define day, month, week units values.
So when user enters a duration of, for example, 5 days the Gantt understands that it means 40 hours and schedules accordingly. Or when user enters a duration of 2 weeks the Gantt also internally recalculates it to hours.
The settings do not define working time per a day or per a week ..they just define measures of the units.


Post by harmankaur »

so what should be default value for hoursPerDay , daysPerMonth and daysPerWeek?


Post by alex.l »

It depends on your business logic. If you want to count a day as 8 hours, then use that value.
Usually, standard working day is 8 hours, working week is 40 hours, and there are 20 working days per month.

You can check our examples for Gantt, it has JSON examples.

All the best,
Alex


Post Reply