[pstricks] features for gantt-charts? Ore is there a solution already, and I can not find it?

Herbert Voss Herbert.Voss at FU-Berlin.DE
Sat Apr 17 10:08:50 CEST 2010


Am 16.04.2010 09:50, schrieb tex at opialla.de:

> 1.) As basis unit I use "Quarter", because "Month" is to fragmented to me for a
> period of 3 years. But if I use non-integer-values for the task duration or [...]

> 2.) Is it possible to only have the headings of the respective Years shown
> (e.g., Year 1, Year 2) instead of the quarters, but still to retain the dashed
> lines for each quarter? I think with showing all the Quarter Headings, makes it
> to crammed.

Possible, but cannot be done in minutes ... I do not know, if
I find some time.

> 3.) Is it possible to remove the border of bars for the respective tasks? Or to
> have them follow the gradient as well as the filling of the bars as stated in
> the last example in the pst-gantt-manual
> (http://www.ctan.org/tex-archive/graphics/pstricks/contrib/pst-gantt/pst-gantt-doc.pdf
> )?

define a TaskStyle with eg "fillcolor=red,linecolor=red"
For a gradient filling see the source code of the
documentation.

> 4.) I also would like to know if there is a different (more convenient) way to
> get the task description in two lines, like in the third task in the example
> below. It works, but seems to me a little hacked. I think many users would want
> this, in order to be able to put longer descriptions in their tasks.

define a command
\def\Text#1{\tabular{c}#1\endtabular}
and then use \Text{foo\\bar}

> I could not really figure out, what "TaskUnitIntervalValue" does, so I
> uncommented it. For this I also woult like to have enlightenment. ;-) When
> somebody can figure out some of my requests I hereby volunteer to put nice
> examples together to be added to the (for me obviously :-) little short)
> package-manual.

the value for the steps predefined as 7 for weeks.
for month it should be 30 and for years 12.
With setting it to a smaller value you can decrease
the width of the chart if it is too big.

Herbert


More information about the PSTricks mailing list