137
JFreeChart- Gantt Chart
A Gantt chart is a kind of bar chart which is commonly used for planning and scheduling project tasks and events.
The following images show some of the demo versions of gantt chart incorporated in JFreeChart library:
Gantt Chart Demo 1:
Gantt Chart Demo 2:
Gantt chart example:
Let us consider the following sample data for a Gantt chart.
Software Development Phases | Estimated Date | Actual date | ||
---|---|---|---|---|
Requirement | 2017-07-03 | 2017-07-07 | 2017-07-03 | 2017-07-05 |
Design | 2017-07-10 | 2017-07-14 | 2017-07-06 | 2017-07-17 |
Coding | 2017-07-17 | 2017-07-21 | 2017-07-18 | 2017-07-27 |
Testing | 2017-07-24 | 2017-07-28 | 2017-07-28 | 2017-08-01 |
Deployment | 2017-07-31 | 2017-08-04 | 2017-08-02 | 2017-08-04 |
The following codes create a Gantt chart from the above sample data:
GanttChartExample.java
Output:
Next Topic#