Gantt chart colorize time sections

0 votes
asked Jun 13 in Wanted features by RedX2501

It would be nice if we could colorize time segments in the gantt diagram.

Our sprints last 2 weeks and I'd like to colorize and name the timeline accordingly.

Something in the spirit of:

 

Project starts on the 10th of May of 2018

Timeline [Sprint 1] lasts 10 days and starts on the 10th of May of 2018

then timeline [Sprint 2] for 10 days

the timeline [Sprint 3] for 10 days

1 Answer

0 votes
answered Jun 13 by plantuml (187,940 points)

Not sure that this is exactly your need, but you can have this with last beta http://beta.plantuml.net/plantuml.jar

@startgantt
Project starts the 20th of september 2018
2018/09/22 is colored in red
2018/09/23 to 2018/09/26 are colored in lightblue
[Prototype design] as [TASK1] lasts 8 days
[TASK1] is colored in Lavender/LightBlue
[Prototype completed] happens at [TASK1]'s end
@endgantt

Are you looking for something close ?

commented Jun 14 by RedX2501 (200 points)
Yeah that is pretty close to what I wanted.

It would be nice if you could give a timespan in days so that closing days are not counted:

2018/07/02 and 10 days are colored in red

It would also be nice if we could name the time section. Maybe directly under the date?

2018/07/02 to 2018/07/05 is named [On leave] and is colored green
2018/08/10 and 10 days are named [Vacation in the Bahamas] and is colored turquoise
commented Jun 17 by plantuml (187,940 points)
It's still under work but with last beta http://beta.plantuml.net/plantuml.jar you can have:
@startgantt
Project starts the 20th of september 2018
sunday are close
2018/09/21 to 2018/09/23 are colored in red
2018/09/21 to 2018/09/30 are named [Vacation in the Bahamas]
2018/10/01 and 2 days are colored in lightBlue
[Prototype design] as [TASK1] lasts 38 days
[TASK1] is colored in Lavender/LightBlue
[Prototype completed] happens at [TASK1]'s end
[Release of new album] happens at the 29th of September 2018
@endgantt

The syntax "2018/10/01 and 2 days" sounds strange because it finally make 3 days, but we are out of inspiration here, so any suggestion is welcome.
The drawing of names under time section is not perfect yet, we are still working on it. Here also suggestions are welcome. (you can use paint/gimp to show ideas).

Regards,
commented Nov 2 by AlexL (160 points)
Kind of lots of text to setup some sprints:

@startgantt
Project starts the 5th of november 2018
saturday are closed
sunday are closed
2018/11/05 and 9 days are colored in lightblue
2018/11/05 and 9 days are named [Sprint 49]

2018/11/19 and 9 days are colored in lightgreen
2018/11/19 and 9 days are named [Sprint 50]

2018/12/03 and 9 days are colored in lightblue
2018/12/03 and 9 days are named [Sprint 51]

2018/12/17 and 9 days are colored in lightgreen
2018/12/17 and 9 days are named [Sprint 52]

...


proposal:
2018/11/05 and 9 days are colored in lightblue and are named [Sprint 49]
then 10 days are colored in lightgreen and are named [Sprint 50]
then 10 days are colored in lightblue and are named [Sprint 51]
then 10 days are colored in lightgreen and are named [Sprint 52]

or even some direct support for sprint.... 90% work in sprints anyway?!
commented Nov 5 by plantuml (187,940 points)
This is really a beta version but with http://beta.plantuml.net/plantuml.jar
You can have :

@startgantt
Project starts the 5th of november 2018
saturday are closed
sunday are closed
2018/11/05 and 9 days are colored in lightblue and are named [Sprint 49]
then 10 days are colored in lightgreen and are named [Sprint 50]
then 10 days are colored in lightblue and are named [Sprint 51]
then 10 days are colored in lightgreen and are named [Sprint 52]
[Production] lasts 3 days and starts at [Sprint 51]'s start

@endgantt

Many things are not working but we do not have time to test, so your feedback is welcome :-)
...