Ability to set "scale 2" for gantt charts

0 votes
asked Jan 11, 2018 in Closed feature request by DannyB
recategorized Mar 21, 2018 by Anthony-Gaudino
The Gantt syntax is great. It would be nice to allow creating a bigger image, maybe with "scale 2" like the sequence diagram allows.

1 Answer

+1 vote
answered Jan 14, 2018 by plantuml (295,000 points)
selected Mar 21, 2018 by Anthony-Gaudino
 
Best answer

Thanks for the suggestion!

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

@startgantt
scale 1.5
[My task1] as [TASK1] lasts 4 days
[My task2] as [TASK2] lasts 6 days
[My task3] as [TASK3] lasts 8 days

[TASK3] starts at [TASK1]'s end
[TASK3] starts at [TASK2]'s end
@endgantt

Is this what you are looking for ?

commented Jan 14, 2018 by DannyB
Exactly. Cool.
commented Feb 22, 2018 by Headbonk (120 points)
Since the gantt diagrams end up being very long, it would be nice to have separate vertical and horizontal scale.

scale 2 height

gives me a parse error
...