JFreeChart is a free open source java chart library. David Gilbert founded the JFreeChart project in February 2000. Now a days, it is used by around 40000 to 50000 developers. It is used to generate the charts like Area and Line Charts, Pie charts, Bar Charts, Bubble Charts, Gantt Charts. Developers get a better choice to add professional quality charts in swing and web based application by JFreeChart. JFreeChart provides many interactive features like tooltips etc. JFreeChart includes some of the following features as given below.
JFreeChart requires the JCommon class library.
JCommon ? It is a collection of useful classes that is used by JFreeChart project. The JCommon library has common classes that provide some global utility functionality for non-GUI and GUI applications. Some of the following features are available in JCommon library:
In this section we are providing you some JFreeChart examples that is based on JFreeChart version 1.0.4. For compiling and running these following examples you must have to set two jar file: jfreechart-1.0.4-demo.jar and jcommon-1.0.8.jar, in your classpath.
Download the full source code with required JFreeChart library jar files
In JFreeChart project, you have to create a Dataset for creating a chart . It contains the data, which displays in the chart. JFreeChart have many Dataset objects, that are used to create different types of charts. After creating the Dataset object actual chart can be created.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.