Please note, this is a STATIC archive of website www.javatpoint.com from 19 Jul 2022, cach3.com does not collect or store any user information, there is no "phishing" involved.
Javatpoint Logo
Javatpoint Logo

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:

JFreeChart Gantt Chart Demo 1

Gantt Chart Demo 2:

JFreeChart 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:

JFreeChart Gantt Chart example
Next Topic#





Youtube For Videos Join Our Youtube Channel: Join Now

Feedback


Help Others, Please Share

facebook twitter pinterest

Learn Latest Tutorials


Preparation


Trending Technologies


B.Tech / MCA