enable skinparam for Gantt charts

+5 votes
asked Feb 21, 2018 in Wanted features by Headbonk (120 points)

Just discovered the Gantt chart capability in PlantUML. It has been a lifesaver for a major scheduling project I am working on.

The default output could use some visual love though.

When I try basics like "skinparam DefaultFontName Calibri" in a Gantt chart, I get parse errors.

It would be nice if Gantt charts allowed for at least basic control of the fonts:

skinparam classFontColor red
skinparam classFontSize 10
skinparam classFontName Aapex

It would be nice too if we could have separate control of fonts on the calendar ruler and tasks. My charts end up being very long, and the default font size on tasks makes them hard to read if the diagram is scaled to page width.

1 Answer

0 votes
answered May 10 by Potherca (160 points)

I would also really like this.

Currently I have to (ab)use the [Creole Syntax](http://plantuml.com/creole) to change font color/sizes:

@startgantt

[<size:14>Prototype design] as [A] lasts 10 days
[= Code prototype] as [B] lasts 10 days
[<color:red><b>Write tests] as [C] lasts 5 days
[B] starts at [A]'s end
[C] starts at [B]'s start

@endgantt

...