10

I'm looking for a good open source Gantt chart library for Java Swing. I tried JFreeChart but it is not able to draw subtask. I tried with SwiftGantt too. It is able to draw subtask, but it is a little unstable and the look and feel is not professional :(.

Can you recomends others?

Thanks in advance!

nashuald
  • 805
  • 3
  • 14
  • 31
  • Have you looked at E-Gantt? http://egantt.wikispaces.com/ – Coupon22 Oct 20 '12 at 20:34
  • Thanks for your answer. Yes, I tried it, but it is based on tables, but I did not find the way to create or configure nested subtasks. – nashuald Oct 20 '12 at 20:58
  • 1
    Have you looked at JIDE Gantt Chart or JFreeChart or FlexGantt. http://www.jidesoft.com/products/gantt.htm http://www.jfree.org/jfreechart/download.html – Coupon22 Oct 20 '12 at 21:42
  • See also this [`JFeeChart`](http://stackoverflow.com/tags/jfreechart/info) [example](http://stackoverflow.com/a/8949913/230513). – trashgod Oct 25 '12 at 01:03

2 Answers2

1

JFreeChart provides Gantt Charts. Check out this link

Goaler444
  • 2,591
  • 6
  • 35
  • 53
  • if you dont understand or cant figure it out, just pop a comment – Goaler444 Nov 10 '12 at 17:16
  • Thanks for your answer. JFreeCharts don't let create gantts with subtasks. The subtasks concept that JFreeCharts manage refers to tasks executed through several parts or fases. By example, Task 1 start at 1/1/2012 and stop at 1/31/2012, then restart at 3/1/2012 and stop a 4/15/2012, so and so – nashuald Nov 12 '12 at 18:10
1

This is most likely only a partial answer, but have you considered embedding a JavaFX chart in a JFXPanel? JavaFX has excellent chart making capabilities and is part of the standard Java 7 Runtime Environment. I believe that Gantt charts are, if not a built-in possibility, something that could be quickly implemented in a class.

Michael Oberlin
  • 479
  • 4
  • 4