-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Define available hours in Gantt chart to allow proper usage of hour-tasks #1555
Comments
HI I was struggling with this and think I finally have it working
|
Is the implementation needed for this complex? |
ExampleHere's another example: gantt
title Project Planning by Person-Hours
section Research
Vendor Research :vr, 2022-05-15 08:00, 20h
Onboarding :co, after vr, 15h
section Consultant Work
Analysis :a1, after co, 80h
Documentation :after a1, 60h
with something like this for code:
So, the idea is that you'd want to say "this item will take 20 hours" which means 20 WORKING hours, meaning 8 hours a day typically. Or for people on a 4 Day Workweek, a 10-hour work day. So, being able to set working hours for the However, how it currently works is this seems to count full, 24-hour days, as if the worker is working 24-hours per day. Potential SolutionWhat comes to mind for me, which would likely be the easiest to implement, but not the most elegant - is to just allow setting working hours by day of week. For example:
|
@RobSeder any update for your solution? I'd love to solve this problem but I don't have any success to solve the related problem with my Gantt diagram. |
@thiagoolsilva no, sorry. This is going to have to be something that is supported in the library, itself. I don't have any workarounds either. |
Thanks |
This is approved, but we need someone to take it on :) |
that would be very useful indeed! i just found out that isn't working after I've put in quite some time into a bigger chart - wrongfully assuming thus far that this for sure must be a default feature. |
Is your feature request related to a problem? Please describe.
I want to use the Gantt chart for both tasks that will stretch over multiple days and some that only last for hours. Currently days last 24h which leads to 6 4h tasks in one day when they follow each other sequentally. It seems reasonable to only have 8 available hours per day for task planning (or something in this area). So in summary working with tasks that last hours will create wrong estimates for when I will finish my tasks
Describe the solution you'd like
I would like to be able to set my available hours per day e.g. 2, 4, 8 or 12 (ideally for each day) and define how many hours a 1day task has. The benefit here is that it would scale well with smaller projects that only have been allocated x hours. I could see for instance, that a 1d task (defined with 1d = 8h) would stretch over 2 days in a 4hour work day chart.
Describe alternatives you've considered
Alternatives include allowing me to write "0.5d" or "0.25d" instead. I could think of my 4 hour task as a 0.5 day task and Mermaid in the background generates a 12h block. Similarly for 2h and 0.25 days => 6h block. This would probably be an easier fix but will lack customizability.
Additional context
Professional Gantt chart software often has these capabilities and it creates a much better planning experience.
The text was updated successfully, but these errors were encountered: