JFreeChart is an open-source framework for the programming language Java, which allows the creation of complex charts in a simple way.
JFreeChart also works with GNU Classpath, a free software implementation of the standard class library for the Java programming language. It support for many output types, including Swing components, image files (including PNG and JPEG), and vector graphics file formats (including PDF, EPS and SVG). It a flexible design that is easy to extend and targets both server-side and client-side applications.
[advt]JFreeChart supports a number of various charts, including combined charts. Following chart types are supported:
- X-Y charts (line, spline and scatter). Time axis is possible.
- Pie charts
- Gantt charts
- Bar charts (horizontal and vertical, stacked and independent). It also has built-in histogram plotting.
- Single valued (thermometer, compass, speedometer) that can then be placed over map.
- Various specific charts (wind chart, polar chart, bubbles of varying size, etc).
Apart charts, it is possible to place various markers on the plot.
JFreeChart automatically draws the axis scales and legends. Charts in GUI automatically get the capability to zoom in with mouse and change some settings through local menu. The existing charts can be easily updated through the listeners that the library has on its data collections.