Gantt chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jesper Hansson

Gantt chart

Post by Jesper Hansson » Thu Dec 19, 2002 1:40 pm

Hi, i wonder if a gantt chart looking something like this is doable in JFreeChart?

Jesper ====== ======== ======
Henrik ========= ======== =====

Date/time axis ----->

Hope you get what i mean. Its basically a gantt chart but each category has many timerintervals. We are going to use it for displaying resource usage and availability.
Also, does anyone have a good name for this type of chart?

thx
Jesper Hansson

Francesco Mascarello

Re: Gantt chart

Post by Francesco Mascarello » Thu Dec 19, 2002 4:03 pm

Hi Jesper,

I tried a lot of hours for create the chart that you need, without success.
Please post ideas or solutions.
I’ve found a partial solution with the StackedHorizontalBarChart, but there are problems and is not a clear code.

thx,
Francesco Mascarello

David Gilbert

Re: Gantt chart

Post by David Gilbert » Thu Dec 19, 2002 4:41 pm

It isn't possible with the current Gantt chart implementation. Brent Roman sent me some code a while back that:

- includes multiple tasks per category;
- I still haven't had a chance to look through properly;

You can download it from the "Recent Contributions" section on the JFreeChart home page.

Regards,

DG

Locked