- All Implemented Interfaces:
- Serializable, Cloneable, EventListener, PlotChangeListener, TitleChangeListener, org.jfree.ui.Drawable
public class JFreeChartextends Objectimplements org.jfree.ui.Drawable, TitleChangeListener, PlotChangeListener, Serializable, CloneableA chart class implemented using the Java 2D APIs. The current version supports bar charts, line charts, pie charts and xy plots (including time series data).
JFreeChart coordinates several objects to achieve its aim of being able to draw a chart on a Java 2D graphics device: a list of
Titleobjects (which often includes the chart's legend), a
Dataset(the plot in turn manages a domain axis and a range axis).
You should use a
ChartPanelto display a chart in a GUI.
ChartFactoryclass contains static methods for creating 'ready-made' charts.