org.jfree.chart
Class ChartFactory

java.lang.Object
  extended byorg.jfree.chart.ChartFactory

public abstract class ChartFactory
extends java.lang.Object

A collection of utility methods for creating some standard charts with JFreeChart.

Author:
David Gilbert

Constructor Summary
ChartFactory()
           
 
Method Summary
static JFreeChart createAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates an area chart with default settings.
static JFreeChart createAreaXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Deprecated. Use createXYAreaChart(...).
static JFreeChart createBarChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a bar chart.
static JFreeChart createBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a bar chart with a 3D effect.
static JFreeChart createBoxAndWhiskerChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, BoxAndWhiskerXYDataset data, boolean legend)
          Creates and returns a default instance of a box and whisker chart.
static JFreeChart createBubbleChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYZDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a bubble chart with default settings.
static JFreeChart 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 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 using the supplied attributes plus default values where required.
static JFreeChart 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 createHighLowChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, HighLowDataset data, Timeline timeline, boolean legend)
          Creates and returns a default instance of a high-low-open-close chart with a special timeline.
static JFreeChart createHistogram(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a histogram.
static JFreeChart createLineChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a line chart with default settings.
static JFreeChart createLineXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Deprecated. Use createXYLineChart(...).
static JFreeChart createPie3DChart(java.lang.String title, PieDataset data, boolean legend, boolean tooltips, boolean urls)
          Deprecated. Use createPieChart3D(...).
static JFreeChart createPieChart(java.lang.String title, CategoryDataset data, int extractType, boolean legend, boolean tooltips, boolean urls)
          Creates a chart containing multiple pie charts, from a TableDataset.
static JFreeChart createPieChart(java.lang.String title, PieDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a pie chart with default settings.
static JFreeChart createPieChart3D(java.lang.String title, PieDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a 3D pie chart using the specified dataset.
static JFreeChart createScatterPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a scatter plot with default settings.
static JFreeChart 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 createStackedAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates an area chart with default settings.
static JFreeChart createStackedAreaXYChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, TableXYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a stacked XY area plot.
static JFreeChart createStackedBarChart(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a stacked bar chart with default settings.
static JFreeChart createStackedBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a stacked bar chart with a 3D effect and default settings.
static JFreeChart createTimeSeriesChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, XYDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates and returns a time series chart.
static JFreeChart createWaferMapChart(java.lang.String title, WaferMapDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a wafer map chart.
static JFreeChart createWaterfallChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a waterfall chart.
static JFreeChart createWindPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, WindDataset data, boolean legend, boolean tooltips, boolean urls)
          Creates a wind plot with default settings.
static JFreeChart createXYAreaChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates an area chart using an XYDataset.
static JFreeChart createXYBarChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, IntervalXYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates and returns a default instance of an XY bar chart.
static JFreeChart createXYLineChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a line chart (based on an XYDataset) with default settings.
static JFreeChart createXYStepAreaChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a filled stepped XY plot with default settings.
static JFreeChart createXYStepChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset data, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
          Creates a stepped XY plot with default settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChartFactory

public ChartFactory()
Method Detail

createPieChart

public static JFreeChart createPieChart(java.lang.String title,
                                        PieDataset data,
                                        boolean legend,
                                        boolean tooltips,
                                        boolean urls)
Creates a pie chart with default settings.

Parameters:
title - the chart title.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a pie chart.

createPieChart

public static JFreeChart createPieChart(java.lang.String title,
                                        CategoryDataset data,
                                        int extractType,
                                        boolean legend,
                                        boolean tooltips,
                                        boolean urls)
Creates a chart containing multiple pie charts, from a TableDataset.

Parameters:
title - the chart title.
data - the dataset for the chart.
extractType - PER_ROW or PER_COLUMN (defined in PiePlot).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a pie chart.

createPieChart3D

public static JFreeChart createPieChart3D(java.lang.String title,
                                          PieDataset data,
                                          boolean legend,
                                          boolean tooltips,
                                          boolean urls)
Creates a 3D pie chart using the specified dataset.

Parameters:
title - the chart title.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a pie chart.

createAreaChart

public static JFreeChart createAreaChart(java.lang.String title,
                                         java.lang.String categoryAxisLabel,
                                         java.lang.String valueAxisLabel,
                                         CategoryDataset data,
                                         PlotOrientation orientation,
                                         boolean legend,
                                         boolean tooltips,
                                         boolean urls)
Creates an area chart with default settings.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the plot orientation.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an area chart.

createStackedAreaChart

public static JFreeChart createStackedAreaChart(java.lang.String title,
                                                java.lang.String categoryAxisLabel,
                                                java.lang.String valueAxisLabel,
                                                CategoryDataset data,
                                                PlotOrientation orientation,
                                                boolean legend,
                                                boolean tooltips,
                                                boolean urls)
Creates an area chart with default settings.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an area chart.

createBarChart

public static JFreeChart createBarChart(java.lang.String title,
                                        java.lang.String categoryAxisLabel,
                                        java.lang.String valueAxisLabel,
                                        CategoryDataset data,
                                        PlotOrientation orientation,
                                        boolean legend,
                                        boolean tooltips,
                                        boolean urls)
Creates a bar chart.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
A bar chart.

createStackedBarChart

public static JFreeChart createStackedBarChart(java.lang.String title,
                                               java.lang.String domainAxisLabel,
                                               java.lang.String rangeAxisLabel,
                                               CategoryDataset data,
                                               PlotOrientation orientation,
                                               boolean legend,
                                               boolean tooltips,
                                               boolean urls)
Creates a stacked bar chart with default settings.

Parameters:
title - the chart title.
domainAxisLabel - the label for the category axis.
rangeAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the orientation of the chart (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a stacked bar chart.

createBarChart3D

public static JFreeChart createBarChart3D(java.lang.String title,
                                          java.lang.String categoryAxisLabel,
                                          java.lang.String valueAxisLabel,
                                          CategoryDataset data,
                                          PlotOrientation orientation,
                                          boolean legend,
                                          boolean tooltips,
                                          boolean urls)
Creates a bar chart with a 3D effect.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a 3D-effect bar chart.

createStackedBarChart3D

public static JFreeChart createStackedBarChart3D(java.lang.String title,
                                                 java.lang.String categoryAxisLabel,
                                                 java.lang.String valueAxisLabel,
                                                 CategoryDataset data,
                                                 PlotOrientation orientation,
                                                 boolean legend,
                                                 boolean tooltips,
                                                 boolean urls)
Creates a stacked bar chart with a 3D effect and default settings.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a stacked vertical bar chart.

createLineChart

public static JFreeChart createLineChart(java.lang.String title,
                                         java.lang.String categoryAxisLabel,
                                         java.lang.String valueAxisLabel,
                                         CategoryDataset data,
                                         PlotOrientation orientation,
                                         boolean legend,
                                         boolean tooltips,
                                         boolean urls)
Creates a line chart with default settings.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the chart orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a line chart.

createGanttChart

public static JFreeChart 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 using the supplied attributes plus default values where required.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
dateAxisLabel - the label for the date axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
A Gantt chart.

createWaterfallChart

public static JFreeChart createWaterfallChart(java.lang.String title,
                                              java.lang.String categoryAxisLabel,
                                              java.lang.String valueAxisLabel,
                                              CategoryDataset data,
                                              PlotOrientation orientation,
                                              boolean legend,
                                              boolean tooltips,
                                              boolean urls)
Creates a waterfall chart.

Parameters:
title - the chart title.
categoryAxisLabel - the label for the category axis.
valueAxisLabel - the label for the value axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
A bar chart.

createLineXYChart

public static JFreeChart createLineXYChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset dataset,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Deprecated. Use createXYLineChart(...).

Creates a line chart (based on an XYDataset) with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
dataset - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
The chart.

createXYLineChart

public static JFreeChart createXYLineChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset dataset,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Creates a line chart (based on an XYDataset) with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
dataset - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
The chart.

createAreaXYChart

public static JFreeChart createAreaXYChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset data,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Deprecated. Use createXYAreaChart(...).

Creates an area chart using an XYDataset.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an XY area chart.

createXYAreaChart

public static JFreeChart createXYAreaChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset data,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Creates an area chart using an XYDataset.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an XY area chart.

createScatterPlot

public static JFreeChart createScatterPlot(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset data,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Creates a scatter plot with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a scatter plot.

createBubbleChart

public static JFreeChart createBubbleChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYZDataset data,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Creates a bubble chart with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a scatter plot.

createWindPlot

public static JFreeChart createWindPlot(java.lang.String title,
                                        java.lang.String xAxisLabel,
                                        java.lang.String yAxisLabel,
                                        WindDataset data,
                                        boolean legend,
                                        boolean tooltips,
                                        boolean urls)
Creates a wind plot with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the x-axis.
yAxisLabel - a label for the y-axis.
data - the dataset for the chart.
legend - a flag that controls whether or not a legend is created.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a wind plot.

createTimeSeriesChart

public static JFreeChart createTimeSeriesChart(java.lang.String title,
                                               java.lang.String timeAxisLabel,
                                               java.lang.String valueAxisLabel,
                                               XYDataset data,
                                               boolean legend,
                                               boolean tooltips,
                                               boolean urls)
Creates and returns a time series chart.

A time series chart is an XYPlot with a date axis (horizontal) and a number axis (vertical), and each data item is connected with a line.

Note that you can supply a TimeSeriesCollection to this method, as it implements the XYDataset interface.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a time series chart.

createXYBarChart

public static JFreeChart createXYBarChart(java.lang.String title,
                                          java.lang.String xAxisLabel,
                                          java.lang.String yAxisLabel,
                                          IntervalXYDataset data,
                                          PlotOrientation orientation,
                                          boolean legend,
                                          boolean tooltips,
                                          boolean urls)
Creates and returns a default instance of an XY bar chart.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an XY bar chart.

createHighLowChart

public static JFreeChart 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.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
Returns:
a high-low-open-close chart.

createHighLowChart

public static JFreeChart createHighLowChart(java.lang.String title,
                                            java.lang.String timeAxisLabel,
                                            java.lang.String valueAxisLabel,
                                            HighLowDataset data,
                                            Timeline timeline,
                                            boolean legend)
Creates and returns a default instance of a high-low-open-close chart with a special timeline. This timeline can be a SegmentedTimeline such as the Monday trough Friday timeline that will remove Saturdays and Sundays from the axis.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
timeline - the timeline.
legend - a flag specifying whether or not a legend is required.
Returns:
a high-low-open-close chart.

createCandlestickChart

public static JFreeChart 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.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
Returns:
a candlestick chart.

createSignalChart

public static JFreeChart 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.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
Returns:
a signal chart.

createXYStepChart

public static JFreeChart createXYStepChart(java.lang.String title,
                                           java.lang.String xAxisLabel,
                                           java.lang.String yAxisLabel,
                                           XYDataset data,
                                           PlotOrientation orientation,
                                           boolean legend,
                                           boolean tooltips,
                                           boolean urls)
Creates a stepped XY plot with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
A chart.

createXYStepAreaChart

public static JFreeChart createXYStepAreaChart(java.lang.String title,
                                               java.lang.String xAxisLabel,
                                               java.lang.String yAxisLabel,
                                               XYDataset data,
                                               PlotOrientation orientation,
                                               boolean legend,
                                               boolean tooltips,
                                               boolean urls)
Creates a filled stepped XY plot with default settings.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
A chart.

createHistogram

public static JFreeChart createHistogram(java.lang.String title,
                                         java.lang.String xAxisLabel,
                                         java.lang.String yAxisLabel,
                                         IntervalXYDataset dataset,
                                         PlotOrientation orientation,
                                         boolean legend,
                                         boolean tooltips,
                                         boolean urls)
Creates a histogram.

Parameters:
title - the chart title.
xAxisLabel - the x axis label.
yAxisLabel - the y axis label.
dataset - the dataset.
orientation - the orientation (horizontal or vertical).
legend - create a legend?
tooltips - display tooltips?
urls - generate URLs?
Returns:
The chart.

createStackedAreaXYChart

public static JFreeChart createStackedAreaXYChart(java.lang.String title,
                                                  java.lang.String xAxisLabel,
                                                  java.lang.String yAxisLabel,
                                                  TableXYDataset data,
                                                  PlotOrientation orientation,
                                                  boolean legend,
                                                  boolean tooltips,
                                                  boolean urls)
Creates a stacked XY area plot.

Parameters:
title - the chart title.
xAxisLabel - a label for the X-axis.
yAxisLabel - a label for the Y-axis.
data - the dataset for the chart.
orientation - the plot orientation (horizontal or vertical).
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
an XY area chart.

createBoxAndWhiskerChart

public static JFreeChart createBoxAndWhiskerChart(java.lang.String title,
                                                  java.lang.String timeAxisLabel,
                                                  java.lang.String valueAxisLabel,
                                                  BoxAndWhiskerXYDataset data,
                                                  boolean legend)
Creates and returns a default instance of a box and whisker chart.

Parameters:
title - the chart title.
timeAxisLabel - a label for the time axis.
valueAxisLabel - a label for the value axis.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
Returns:
a box and whisker chart.

createWaferMapChart

public static JFreeChart createWaferMapChart(java.lang.String title,
                                             WaferMapDataset data,
                                             PlotOrientation orientation,
                                             boolean legend,
                                             boolean tooltips,
                                             boolean urls)
Creates a wafer map chart.

Parameters:
title - the chart title.
data - the dataset.
orientation - the plot orientation (horizontal or vertical).
legend - display a legend?
tooltips - generate tooltips?
urls - generate URLs?
Returns:
a wafer map chart.

createPie3DChart

public static JFreeChart createPie3DChart(java.lang.String title,
                                          PieDataset data,
                                          boolean legend,
                                          boolean tooltips,
                                          boolean urls)
Deprecated. Use createPieChart3D(...).

Creates a pie chart with default settings.

Parameters:
title - the chart title.
data - the dataset for the chart.
legend - a flag specifying whether or not a legend is required.
tooltips - configure chart to generate tool tips?
urls - configure chart to generate URLs?
Returns:
a pie chart.