Pages

JFree Charts

GIT Tutorials
JFreeChart

JFreeChart is an open-source Java library for creating professional charts and graphs. JFreeChart project was founded in February 2000, by David Gilbert.


Class Level Architecture
File The File represents the user input used for creating a dataset in the file.
Data Base The Database represents the source having user input used for creating a dataset in the database.
Create Dataset The Create Dataset represents the dataset which is being created and stored into the object.
General Dataset The General Dataset is a type of dataset which is used to create pie charts.
Category Dataset The Category Dataset is a type of dataset which is widely used for bar chart, line chart etc.
Series Dataset The Series Dataset is a type of dataset which is used for storing series of data and construct line charts.
Series Collection Dataset The Series Collection Dataset represents the various categories of series datasets that are added to Series Collection Dataset. This type of dataset is used for XYLine Charts.
Create Chart The Create Chart is the method which is executed to create final chart.
Frame/Image The Frame/Image represents that the chart is displayed on a Swing Frame or an image is created.

Application Level Architecture

The client program receives user data and then it uses standard Java and JFreeChart APIs based on requirements to generate the output in the form of either a frame, which can be displayed directly inside the application or independently in the image formats such as JPEG or PNG.


JFreeChart

JFreeChart is an open-source Java library for creating professional charts and graphs. JFreeChart project was founded in February 2000, by David Gilbert.


JFreeCharts Packages
Package Description
org.jfree.chart Core classes, including JFreeChart and ChartPanel.
org.jfree.chart.annotations A framework for adding annotations to charts.
org.jfree.chart.axis Axis classes and interfaces.
org.jfree.chart.block Blocks and layout classes used extensively by the LegendTitle class.
org.jfree.chart.date Date-related classes formerly in the JCommon class library.
org.jfree.chart.editor Provides a simple (but so far incomplete) framework for editing chart properties.
org.jfree.chart.encoders Classes related to the encoding of charts to different image formats.
org.jfree.chart.entity Classes representing components of (or entities in) a chart.
org.jfree.chart.event It used to provide a change notification mechanism so that charts are automatically redrawn whenever changes are made to any chart component.
org.jfree.chart.imagemap Classes, including ImageMapUtils, for creating HTML image maps.
org.jfree.chart.labels Generators and other classes used for the display of item labels and tooltips.
org.jfree.chart.needle A range of objects that can be used to represent the needle on a CompassPlot.
org.jfree.chart.panel Classes related to the ChartPanel class.
org.jfree.chart.plot Plot classes and related interfaces.
org.jfree.chart.plot.dial Classes for creating dial plots.
org.jfree.chart.plot.flow Classes for creating flow plots (a type of Sankey chart).
org.jfree.chart.renderer Core support for the plug-in renderers used by the CategoryPlot and XYPlot classes.
org.jfree.chart.renderer.category Plug-in renderers for the CategoryPlot class.
org.jfree.chart.renderer.xy Plug-in renderers for the XYPlot class.
org.jfree.chart.resources Localised resources for the JFreeChart class library.
org.jfree.chart.servlet Classes for providing useful servlet and JSP functionality.
org.jfree.chart.text Text-related classes formerly in the JCommon class library.
org.jfree.chart.title Classes used to display chart titles and subtitles.
org.jfree.chart.ui Utility classes that relate to user interface items.
org.jfree.chart.urls Classes for adding URLS to charts for HTML image map generation.
org.jfree.chart.util Utility classes used by JFreeChart.
org.jfree.data The base package for classes that represent various types of data.
org.jfree.data.category A package containing the CategoryDataset interface and related classes.
org.jfree.data.flow Data interfaces and classes for flow plots (a type of Sankey chart).
org.jfree.data.function Representation for simple functions.
org.jfree.data.gantt Data interfaces and classes for Gantt charts.
org.jfree.data.general Data interfaces and classes.
org.jfree.data.io Miscellaneous support for input/output of data.
org.jfree.data.jdbc Dataset classes that fetch data from a database via JDBC.
org.jfree.data.json Utilities for reading/writing data to/from JSON format.
org.jfree.data.json.impl Utility classes for JSON, for internal use only.
org.jfree.data.resources Resource bundles for items that require localisation.
org.jfree.data.statistics Classes for representing statistical data.
org.jfree.data.time Interfaces and classes for time-related data.
org.jfree.data.time.ohlc Classes for representing financial data in open-high-low-close form.
org.jfree.data.xml Support for reading datasets from XML files.
org.jfree.data.xy A package containing the XYDataset interface and related classes.