GANTT printscale weekly

0 votes
asked Mar 6, 2020 in Wanted features by anonymous
Hi, thanks a lot for the addition of the "printscale"...

Any chance, for a "printscale monthly"?

I love, that I can define my target days exactly, but have some very long running projects ...

BTW, any chance to define target date in CW? Calendar Weeks?

THANKS!!!

1 Answer

0 votes
answered Mar 6, 2020 by plantuml (294,960 points)
Yes, "printscale monthly" is probably the next feature. It should not be to difficult to implement.

We may considere also calendar week, but in that case, we would follow ISO convention ( https://en.wikipedia.org/wiki/ISO_week_date ). I don't know if it's fine to you.

We are also out of inspiration about the syntax. So it would really help if you could post here a simple example with the syntax you would like to have for weeks.

Thanks!
commented Mar 6, 2020 by emu
Thanks for the "printscale monthly" already, looking forward to the next release!

I'm a great fan of standards, so todays date of 2020-W10-5 is fine with me. Could as well live with the short form 2020w105, but the long is easier to read.

THANKS!
commented Mar 9, 2020 by plantuml (294,960 points)

We are still improving Gantt but with last beta http://beta.plantuml.net/plantuml.jar

You can now have

@startuml
printscale monthly
Project starts the 2020/2/3
[Milestone] happens 2020/2/14
[Task] lasts 90 weeks
@enduml

This has not been widely tested, so feedback is welcome.

We could considere other "printscale" (quaterly ? yearly ?), but we are waiting for users' need here.

Thanks!

commented Mar 10, 2020 by plantuml (294,960 points)

We're still working on Gantt.

With last beta http://beta.plantuml.net/plantuml.jar you can now have

@startgantt
Project starts 2020/02/14
Print between 2020/02/22 and 2020/03/04
[My task0] as [TASK0] lasts 7 days
[My task1] as [TASK1] lasts 10 days
[My task2] as [TASK2] lasts 20 days
[My task3] as [TASK3] lasts 30 days

TASK1 -> TASK2
TASK2 -> TASK3
@endgantt

This would be useful for long project to zoom on a short period. Note that there are probably bugs, so we are interested by any feedback :-)

commented Mar 16, 2020 by Henrik
Having a quarterly or yearly printscale would really be useful for me to use gantt diagrams to visualize the validity of X509 certificates within a certificate hierarchy.

Thanks a lot
commented Mar 20, 2020 by emu
Thanks a lot for the improvements, AGAIN!!!

Any chance, to put TASKS in the same line, if they don't overlap?

Cheers!
commented Mar 20, 2020 by emu
Any chance for entering the dates in Calendar-Weeks as 2020-w13-1 ?
commented Mar 23, 2020 by Sophie
Hello,

thanks for improvement :

I tried this option (Print between 2020/02/22 and 2020/03/04) with task separators, it fails :

java.lang.UnsupportedOperationException

TaskSeparator.getEnd (TaskSeparator.java:61)
commented Mar 23, 2020 by plantuml (294,960 points)
Ok... it would help if you could provide a short example that shows the issue. Thanks!
commented Mar 25, 2020 by sophie
this fails : @startgantt
printscale weekly
scale 0.9
Project starts on 2020/03/30
Print between 2020/04/01 and 2020/04/04
saturday are closed
sunday are closed
2020/05/01 is closed
2020/05/08 is closed
-- MINIMAL VERSION --
[IC: Orchestrate jobs calls] as [IC:calls] on {Bob:100%} lasts 10 days
[IC:CN calls] is colored in #3399ff
@endgantt

if i remove the line "Print between 2020/04/01 and 2020/04/04" or the line "-- MINIMAL VERSION --" it's ok
commented Mar 25, 2020 by plantuml (294,960 points)
Great !

Thanks for the example, it definitively helps !

You'll find a patched version with last beta http://beta.plantuml.net/plantuml.jar

Tell us if you find other issues (with minimal example :-) )
commented Mar 30, 2020 by emu
Any chance for the date entry in calendar weeks as 2020cw12d1, or similar?

Would really be a big help!

Thanks!
...