问题
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!
回答1:
JFreeChart provides Gantt Charts. Check out this link
回答2:
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.
来源:https://stackoverflow.com/questions/12992340/java-swing-open-source-gantt-chart-library