JFreeChart is a free and pure java chart library for
creating professional quality charts.
This requires the libraries
jfreechart-1.0.13.jar and
jcommon-1.0.8.jar
to be in classpath.
The following example shows creating a simple pie chart from JDBCPieDataset.
It uses H2 database to fetch the data required for rendering the pie chart.
The BUG_STAT table is shown below,