Uses of Class
com.jrefinery.chart.JFreeChart

Packages that use JFreeChart
com.jrefinery.chart The main classes in the JFreeChart class library. 
com.jrefinery.chart.demo Demonstration applications for the JFreeChart class library. 
com.jrefinery.chart.demo.jdbc.servlet Classes for the JFreeChart servlet demonstration. 
com.jrefinery.chart.demo.servlet   
com.jrefinery.chart.event The event classes in the JFreeChart class library. 
com.jrefinery.chart.servlet Classes for providing useful servlet and JSP functionality. 
com.jrefinery.chart.ui An optional package containing user interface components for editing chart properties (used in the JFreeChart demo application); 
 

Uses of JFreeChart in com.jrefinery.chart
 

Methods in com.jrefinery.chart that return JFreeChart
 JFreeChart Legend.getChart()
          Returns the chart that this legend belongs to.
 JFreeChart ChartPanel.getChart()
          Returns the chart contained in the panel.
static JFreeChart ChartFactory.createPieChart(java.lang.String title, PieDataset data, boolean legend)
          Creates a pie chart with default settings.
static JFreeChart ChartFactory.createPieChart(java.lang.String title, PieDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a pie chart with default settings.
static JFreeChart ChartFactory.createPieChart(java.lang.String title, CategoryDataset data, boolean legend)
          Creates a chart containing multiple pie charts, from a CategoryDataset.
static JFreeChart ChartFactory.createPieChart(java.lang.String title, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a chart containing multiple pie charts, from a CategoryDataset.
static JFreeChart ChartFactory.createPie3DChart(java.lang.String title, PieDataset data, boolean legend)
          Creates a pie chart with default settings.
static JFreeChart ChartFactory.createVerticalBarChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a vertical bar chart with default settings.
static JFreeChart ChartFactory.createVerticalBarChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a vertical bar chart with default settings.
static JFreeChart ChartFactory.createVerticalBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a vertical 3D-effect bar chart with default settings.
static JFreeChart ChartFactory.createStackedVerticalBarChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a stacked vertical bar chart with default settings.
static JFreeChart ChartFactory.createStackedVerticalBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a stacked vertical bar chart with default settings.
static JFreeChart ChartFactory.createHorizontalBarChart(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, CategoryDataset data, boolean legend)
          Creates a horizontal bar chart with default settings.
static JFreeChart ChartFactory.createHorizontalBarChart(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a horizontal bar chart with default settings.
static JFreeChart ChartFactory.createHorizontalBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a horizontal 3D-effect bar chart with default settings.
static JFreeChart ChartFactory.createHorizontalBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a horizontal 3D-effect bar chart with default settings.
static JFreeChart ChartFactory.createStackedHorizontalBarChart(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, CategoryDataset data, boolean legend)
          Creates a stacked horizontal bar chart with default settings.
static JFreeChart ChartFactory.createLineChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a line chart with default settings.
static JFreeChart ChartFactory.createLineChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a line chart with default settings.
static JFreeChart ChartFactory.createAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates an area chart with default settings.
static JFreeChart ChartFactory.createAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates an area chart with default settings.
static JFreeChart ChartFactory.createStackedAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, boolean legend)
          Creates a stacked area chart with default settings.
static JFreeChart ChartFactory.createGanttChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String dateAxisLabel, IntervalCategoryDataset data, boolean legend)
          Creates a Gantt chart with default settings.
static JFreeChart ChartFactory.createGanttChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String dateAxisLabel, IntervalCategoryDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a Gantt chart with default settings.
static JFreeChart ChartFactory.createLineXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates a line chart (based on an XYDataset) with default settings.
static JFreeChart ChartFactory.createLineXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a line chart (based on an XYDataset) with default settings.
static JFreeChart ChartFactory.createAreaXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates an XY area plot.
static JFreeChart ChartFactory.createAreaXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates an XY area plot.
static JFreeChart ChartFactory.createScatterPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates a scatter plot with default settings.
static JFreeChart ChartFactory.createWindPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, WindDataset data, boolean legend)
          Creates a wind plot with default settings.
static JFreeChart ChartFactory.createTimeSeriesChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, XYDataset data, boolean legend)
          Creates and returns a time series chart.
static JFreeChart ChartFactory.createVerticalXYBarChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, IntervalXYDataset data, boolean legend)
          Creates and returns a default instance of a vertical XY bar chart.
static JFreeChart ChartFactory.createHighLowChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, HighLowDataset data, boolean legend)
          Creates and returns a default instance of a high-low-open-close chart.
static JFreeChart ChartFactory.createCandlestickChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, HighLowDataset data, boolean legend)
          Creates and returns a default instance of a candlesticks chart.
static JFreeChart ChartFactory.createSignalChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, SignalsDataset data, boolean legend)
          Creates and returns a default instance of a signal chart.
static JFreeChart ChartFactory.createXYStepChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates a stepped XY plot with default settings.
static JFreeChart ChartFactory.createXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Deprecated. use createLineXYChart.
 

Methods in com.jrefinery.chart with parameters of type JFreeChart
static void ChartUtilities.writeChartAsPNG(java.io.OutputStream out, JFreeChart chart, int width, int height)
          Writes the chart to the output stream in PNG format.
static void ChartUtilities.writeChartAsPNG(java.io.OutputStream out, JFreeChart chart, int width, int height, boolean encodeAlpha, int compression)
          Writes the chart to the output stream in PNG format.
static void ChartUtilities.writeChartAsPNG(java.io.OutputStream out, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Writes the chart to the output stream in PNG format.
static void ChartUtilities.writeChartAsPNG(java.io.OutputStream out, JFreeChart chart, int width, int height, ChartRenderingInfo info, boolean encodeAlpha, int compression)
          Writes the chart to the output stream in PNG format.
static void ChartUtilities.saveChartAsPNG(java.io.File file, JFreeChart chart, int width, int height)
          Saves the chart as a PNG format image file.
static void ChartUtilities.saveChartAsPNG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Saves the chart as a PNG format image file.
static void ChartUtilities.saveChartAsPNG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info, boolean encodeAlpha, int compression)
          Saves the chart as a PNG format image file.
static void ChartUtilities.writeChartAsJPEG(java.io.OutputStream out, JFreeChart chart, int width, int height)
          Writes the chart to the output stream in JPEG format.
static void ChartUtilities.writeChartAsJPEG(java.io.OutputStream out, float quality, JFreeChart chart, int width, int height)
          Writes the chart to the output stream in JPEG format.
static void ChartUtilities.writeChartAsJPEG(java.io.OutputStream out, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Writes the chart to the output stream in JPEG format.
static void ChartUtilities.writeChartAsJPEG(java.io.OutputStream out, float quality, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Writes the chart to the output stream in JPEG format.
static void ChartUtilities.saveChartAsJPEG(java.io.File file, JFreeChart chart, int width, int height)
          Saves the chart as a JPEG format image file.
static void ChartUtilities.saveChartAsJPEG(java.io.File file, float quality, JFreeChart chart, int width, int height)
          Saves the chart as a JPEG format image file.
static void ChartUtilities.saveChartAsJPEG(java.io.File file, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Saves the chart as a JPEG format image file.
static void ChartUtilities.saveChartAsJPEG(java.io.File file, float quality, JFreeChart chart, int width, int height, ChartRenderingInfo info)
          Saves the chart as a JPEG format image file.
static Legend Legend.createInstance(JFreeChart chart)
          Static factory method that returns a concrete subclass of Legend.
 void ChartPanel.setChart(JFreeChart chart)
          Sets the chart that is displayed in the panel.
 

Constructors in com.jrefinery.chart with parameters of type JFreeChart
Legend(JFreeChart chart, int outerGap)
          Default constructor: returns a new legend.
StandardLegend(JFreeChart chart)
          Constructs a new legend with default settings.
StandardLegend(JFreeChart chart, int outerGap, Spacer innerGap, java.awt.Paint backgroundPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint, java.awt.Font itemFont, java.awt.Paint itemPaint)
          Constructs a new legend.
MeterLegend(JFreeChart chart, java.lang.String legendText)
          Constructs a new legend.
MeterLegend(JFreeChart chart, int outerGap, Spacer innerGap, java.awt.Paint backgroundPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint, java.awt.Font itemFont, java.awt.Paint itemPaint, java.lang.String legendText)
          Constructs a new legend.
ChartPanel(JFreeChart chart)
          Constructs a JFreeChart panel.
ChartPanel(JFreeChart chart, boolean useBuffer)
          Constructs a panel containing a chart.
ChartPanel(JFreeChart chart, boolean properties, boolean save, boolean print, boolean zoom, boolean tooltips)
          Constructs a JFreeChart panel.
ChartPanel(JFreeChart chart, int width, int height, int minimumDrawWidth, int minimumDrawHeight, int maximumDrawWidth, int maximumDrawHeight, boolean useBuffer, boolean properties, boolean save, boolean print, boolean zoom, boolean tooltips)
          Constructs a JFreeChart panel.
ChartFrame(java.lang.String title, JFreeChart chart)
          Constructs a frame for a chart.
ChartFrame(java.lang.String title, JFreeChart chart, boolean scrollPane)
          Constructs a frame for a chart.
 

Uses of JFreeChart in com.jrefinery.chart.demo
 

Methods in com.jrefinery.chart.demo that return JFreeChart
 JFreeChart JFreeChartDemoBase.getChart(int i)
          Returns a chart.
 JFreeChart JFreeChartDemoBase.createHorizontalBarChart()
          Create a horizontal bar chart.
 JFreeChart JFreeChartDemoBase.createStackedHorizontalBarChart()
          Creates and returns a sample stacked horizontal bar chart.
 JFreeChart JFreeChartDemoBase.createVerticalBarChart()
          Creates and returns a sample vertical bar chart.
 JFreeChart JFreeChartDemoBase.createVertical3DBarChart()
          Creates and returns a sample vertical 3D bar chart.
 JFreeChart JFreeChartDemoBase.createVerticalStackedBarChart()
          Creates and returns a sample stacked vertical bar chart.
 JFreeChart JFreeChartDemoBase.createVerticalStacked3DBarChart()
          Creates and returns a sample stacked vertical 3D bar chart.
 JFreeChart JFreeChartDemoBase.createPieChartOne()
          Creates and returns a sample pie chart.
 JFreeChart JFreeChartDemoBase.createPieChartTwo()
          Creates and returns a sample pie chart.
 JFreeChart JFreeChartDemoBase.createXYPlot()
          Creates and returns a sample XY plot.
 JFreeChart JFreeChartDemoBase.createTimeSeries1Chart()
          Creates and returns a sample time series chart.
 JFreeChart JFreeChartDemoBase.createTimeSeries2Chart()
          Creates and returns a sample time series chart.
 JFreeChart JFreeChartDemoBase.createTimeSeriesWithMAChart()
          Creates and returns a sample time series chart.
 JFreeChart JFreeChartDemoBase.createHighLowChart()
          Displays a vertical bar chart in its own frame.
 JFreeChart JFreeChartDemoBase.createCandlestickChart()
          Creates a candlestick chart.
 JFreeChart JFreeChartDemoBase.createSignalChart()
          Creates and returns a sample signal chart.
 JFreeChart JFreeChartDemoBase.createThermometerChart()
          Creates and returns a sample thermometer chart.
 JFreeChart JFreeChartDemoBase.createMeterChartCircle()
          Creates and returns a sample meter chart.
 JFreeChart JFreeChartDemoBase.createMeterChartPie()
          Creates and returns a sample meter chart.
 JFreeChart JFreeChartDemoBase.createMeterChartChord()
          Creates and returns a sample meter chart.
 JFreeChart JFreeChartDemoBase.createCompassChart()
          Creates a compass chart.
 JFreeChart JFreeChartDemoBase.createWindPlot()
          Creates and returns a sample wind plot.
 JFreeChart JFreeChartDemoBase.createScatterPlot()
          Creates and returns a sample scatter plot.
 JFreeChart JFreeChartDemoBase.createLineChart()
          Creates and returns a sample line chart.
 JFreeChart JFreeChartDemoBase.createVerticalXYBarChart()
          Creates and returns a sample vertical XY bar chart.
 JFreeChart JFreeChartDemoBase.createNullXYPlot()
          Creates and returns a sample XY chart with null data.
 JFreeChart JFreeChartDemoBase.createXYPlotZeroData()
          Creates a sample XY plot with an empty dataset.
 JFreeChart JFreeChartDemoBase.createTimeSeriesChartInScrollPane()
          Creates and returns a sample time series chart that will be displayed in a scroll pane.
 JFreeChart JFreeChartDemoBase.createSingleSeriesBarChart()
          Creates and returns a sample bar chart with just one series.
 JFreeChart JFreeChartDemoBase.createDynamicXYChart()
          Displays an XY chart that is periodically updated by a background thread.
 JFreeChart JFreeChartDemoBase.createOverlaidChart()
          Creates and returns a sample overlaid chart.
 JFreeChart JFreeChartDemoBase.createHorizontallyCombinedChart()
          Creates a horizontally combined chart.
 JFreeChart JFreeChartDemoBase.createVerticallyCombinedChart()
          Creates and returns a sample vertically combined chart.
 JFreeChart JFreeChartDemoBase.createCombinedAndOverlaidChart1()
          Creates a combined and overlaid chart.
 JFreeChart JFreeChartDemoBase.createCombinedAndOverlaidDynamicXYChart()
          Displays an XY chart that is periodically updated by a background thread.
 JFreeChart JFreeChartDemoBase.createGanttChart()
          Creates a gantt chart.
 JFreeChart StatisticalBarChartDemo.getChart()
          Returns the chart.
 JFreeChart IntervalBarChartDemo.getChart()
          Returns the chart.
static JFreeChart SymbolicYPlotDemo.createYSymbolicPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates a XY graph with symbolic value on Y axis.
static JFreeChart SymbolicXYPlotDemo.createXYSymbolicPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, boolean legend)
          Creates a XY graph with symbolic value on X and Y axis.
protected  JFreeChart JFreeChartServletDemo.createChart(int type, int initGradColor, int finalGradColor)
          Returns a chart.
 

Uses of JFreeChart in com.jrefinery.chart.demo.jdbc.servlet
 

Methods in com.jrefinery.chart.demo.jdbc.servlet that return JFreeChart
protected  JFreeChart BaseImageServlet.createChart(int type, java.lang.String sql)
           
protected  JFreeChart BaseImageServlet.createXYChart(int type, java.lang.String sql)
          Create a chart
protected  JFreeChart BaseImageServlet.createPieChart(int type, java.lang.String sql)
          Create a chart
protected  JFreeChart BaseImageServlet.createCategoryChart(int type, java.lang.String sql)
          Create a chart
 

Methods in com.jrefinery.chart.demo.jdbc.servlet with parameters of type JFreeChart
protected  java.awt.image.BufferedImage BaseImageServlet.draw(JFreeChart chart, int width, int height)
           
 void BaseImageServlet.modifyChart(JFreeChart chart, javax.servlet.http.HttpServletRequest request)
          Override this method if you would like to modify the generated chart parameters / options
 void ImageDemoPie.modifyChart(JFreeChart chart, javax.servlet.http.HttpServletRequest request)
           
 

Uses of JFreeChart in com.jrefinery.chart.demo.servlet
 

Methods in com.jrefinery.chart.demo.servlet that return JFreeChart
protected  JFreeChart BaseImageServlet.createXYChart(int type, java.lang.String sql)
          Create an XY chart
protected  JFreeChart BaseImageServlet.createPieChart(int type, java.lang.String sql)
          Create a chart
protected  JFreeChart BaseImageServlet.createCategoryChart(int type, java.lang.String sql)
          Create a chart
protected  JFreeChart BaseImageServlet.createChart(javax.servlet.http.HttpServletRequest request)
           
protected  JFreeChart JFreeServletDemo.createChart(javax.servlet.http.HttpServletRequest request)
          This is used by the standard doPost method of BaseImageServlet to get the chart to display.
 

Methods in com.jrefinery.chart.demo.servlet with parameters of type JFreeChart
protected  void BaseImageServlet.modifyChart(JFreeChart chart, javax.servlet.http.HttpServletRequest request)
          Modify a chart based on request parameters Override this method if you would like to modify the generated chart, Generally for chart look and feel.
protected  ChartRenderingInfo BaseImageServlet.writeChart(JFreeChart chart, java.io.OutputStream out, int outputType, java.awt.Dimension size)
           
 void ImageDemoPie.modifyChart(JFreeChart chart, javax.servlet.http.HttpServletRequest request)
           
 

Uses of JFreeChart in com.jrefinery.chart.event
 

Methods in com.jrefinery.chart.event that return JFreeChart
 JFreeChart ChartChangeEvent.getChart()
          Returns the chart that generated the change event.
 

Methods in com.jrefinery.chart.event with parameters of type JFreeChart
 void ChartChangeEvent.setChart(JFreeChart chart)
          Sets the chart that generated the change event.
 

Constructors in com.jrefinery.chart.event with parameters of type JFreeChart
ChartChangeEvent(java.lang.Object source, JFreeChart chart)
          Creates a new chart change event.
ChartChangeEvent(java.lang.Object source, JFreeChart chart, int type)
          Creates a new chart change event.
 

Uses of JFreeChart in com.jrefinery.chart.servlet
 

Methods in com.jrefinery.chart.servlet with parameters of type JFreeChart
static java.lang.String ServletUtilities.saveChartAsPNG(JFreeChart chart, int width, int height, javax.servlet.http.HttpSession session)
          Saves the chart as a PNG format file in the temporary directory.
static java.lang.String ServletUtilities.saveChartAsPNG(JFreeChart chart, int width, int height, ChartRenderingInfo info, javax.servlet.http.HttpSession session)
          Saves the chart as a PNG format file in the temporary directory and populates the ChartRenderingInfo object which can be used to generate an HTML image map.
static java.lang.String ServletUtilities.saveChartAsJPEG(JFreeChart chart, int width, int height, javax.servlet.http.HttpSession session)
          Saves the chart as a JPEG format file in the temporary directory.
static java.lang.String ServletUtilities.saveChartAsJPEG(JFreeChart chart, int width, int height, ChartRenderingInfo info, javax.servlet.http.HttpSession session)
          Saves the chart as a JPEG format file in the temporary directory and populates the ChartRenderingInfo object which can be used to generate an HTML image map.
 

Uses of JFreeChart in com.jrefinery.chart.ui
 

Methods in com.jrefinery.chart.ui with parameters of type JFreeChart
 void ChartPropertyEditPanel.updateChartProperties(JFreeChart chart)
          Updates the properties of a chart to match the properties defined on the panel.
 

Constructors in com.jrefinery.chart.ui with parameters of type JFreeChart
ChartPropertyEditPanel(JFreeChart chart)
          Standard constructor - the property panel is made up of a number of sub-panels that are displayed in the tabbed pane.