Java Doc for ChartFactory.java in  » Chart » jfreechart » org » jfree » chart » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Chart » jfreechart » org.jfree.chart 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   org.jfree.chart.ChartFactory

ChartFactory
abstract public class ChartFactory (Code)
A collection of utility methods for creating some standard charts with JFreeChart.




Method Summary
public static  JFreeChartcreateAreaChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates an area chart with default settings.
public static  JFreeChartcreateBarChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a bar chart.
public static  JFreeChartcreateBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a bar chart with a 3D effect.
public static  JFreeChartcreateBoxAndWhiskerChart(String title, String categoryAxisLabel, String valueAxisLabel, BoxAndWhiskerCategoryDataset dataset, boolean legend)
     Creates and returns a default instance of a box and whisker chart based on data from a BoxAndWhiskerCategoryDataset .
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - a label for the category axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
public static  JFreeChartcreateBoxAndWhiskerChart(String title, String timeAxisLabel, String valueAxisLabel, BoxAndWhiskerXYDataset dataset, boolean legend)
     Creates and returns a default instance of a box and whisker chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
public static  JFreeChartcreateBubbleChart(String title, String xAxisLabel, String yAxisLabel, XYZDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a bubble chart with default settings.
public static  JFreeChartcreateCandlestickChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, boolean legend)
     Creates and returns a default instance of a candlesticks chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
public static  JFreeChartcreateGanttChart(String title, String categoryAxisLabel, String dateAxisLabel, IntervalCategoryDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a Gantt chart using the supplied attributes plus default values where required.
public static  JFreeChartcreateHighLowChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, boolean legend)
     Creates and returns a default instance of a high-low-open-close chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
public static  JFreeChartcreateHighLowChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, Timeline timeline, boolean legend)
     Creates and returns a default instance of a high-low-open-close chart with a special timeline.
public static  JFreeChartcreateHistogram(String title, String xAxisLabel, String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a histogram chart.
public static  JFreeChartcreateLineChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a line chart with default settings.
public static  JFreeChartcreateLineChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a line chart with default settings.
public static  JFreeChartcreateMultiplePieChart(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)
     Creates a chart that displays multiple pie plots.
public static  JFreeChartcreateMultiplePieChart3D(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)
     Creates a chart that displays multiple pie plots.
public static  JFreeChartcreatePieChart(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a pie chart with default settings.
public static  JFreeChartcreatePieChart(String title, PieDataset dataset, PieDataset previousDataset, int percentDiffForMaxScale, boolean greenForIncrease, boolean legend, boolean tooltips, boolean urls, boolean subTitle, boolean showDifference)
     Creates a pie chart with default settings that compares 2 datasets.
public static  JFreeChartcreatePieChart3D(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a 3D pie chart using the specified dataset.
public static  JFreeChartcreatePolarChart(String title, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a polar plot for the specified dataset (x-values interpreted as angles in degrees).
public static  JFreeChartcreateRingChart(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a ring chart with default settings.
public static  JFreeChartcreateScatterPlot(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a scatter plot with default settings.
public static  JFreeChartcreateStackedAreaChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a stacked area chart with default settings.
public static  JFreeChartcreateStackedBarChart(String title, String domainAxisLabel, String rangeAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a stacked bar chart with default settings.
public static  JFreeChartcreateStackedBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a stacked bar chart with a 3D effect and default settings.
public static  JFreeChartcreateStackedXYAreaChart(String title, String xAxisLabel, String yAxisLabel, TableXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a stacked XY area plot.
public static  JFreeChartcreateTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates and returns a time series chart.
public static  JFreeChartcreateWaferMapChart(String title, WaferMapDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a wafer map chart.
public static  JFreeChartcreateWaterfallChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a waterfall chart.
public static  JFreeChartcreateWindPlot(String title, String xAxisLabel, String yAxisLabel, WindDataset dataset, boolean legend, boolean tooltips, boolean urls)
     Creates a wind plot with default settings.
public static  JFreeChartcreateXYAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates an area chart using an XYDataset .
public static  JFreeChartcreateXYBarChart(String title, String xAxisLabel, boolean dateAxis, String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates and returns a default instance of an XY bar chart.
public static  JFreeChartcreateXYLineChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a line chart (based on an XYDataset ) with default settings.
public static  JFreeChartcreateXYStepAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a filled stepped XY plot with default settings.
public static  JFreeChartcreateXYStepChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
     Creates a stepped XY plot with default settings.



Method Detail
createAreaChart
public static JFreeChart createAreaChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates an area chart with default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and an AreaRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? An area chart.



createBarChart
public static JFreeChart createBarChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a bar chart. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and a BarRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A bar chart.



createBarChart3D
public static JFreeChart createBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a bar chart with a 3D effect. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis3D for the domain axis, a NumberAxis3D as the range axis, and a BarRenderer3D as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A bar chart with a 3D effect.



createBoxAndWhiskerChart
public static JFreeChart createBoxAndWhiskerChart(String title, String categoryAxisLabel, String valueAxisLabel, BoxAndWhiskerCategoryDataset dataset, boolean legend)(Code)
Creates and returns a default instance of a box and whisker chart based on data from a BoxAndWhiskerCategoryDataset .
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - a label for the category axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required. A box and whisker chart.
since:
   1.0.4



createBoxAndWhiskerChart
public static JFreeChart createBoxAndWhiskerChart(String title, String timeAxisLabel, String valueAxisLabel, BoxAndWhiskerXYDataset dataset, boolean legend)(Code)
Creates and returns a default instance of a box and whisker chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required. A box and whisker chart.



createBubbleChart
public static JFreeChart createBubbleChart(String title, String xAxisLabel, String yAxisLabel, XYZDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a bubble chart with default settings. The chart is composed of an XYPlot , with a NumberAxis for the domain axis, a NumberAxis for the range axis, and an XYBubbleRenderer to draw the data items.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A bubble chart.



createCandlestickChart
public static JFreeChart createCandlestickChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, boolean legend)(Code)
Creates and returns a default instance of a candlesticks chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required. A candlestick chart.



createGanttChart
public static JFreeChart createGanttChart(String title, String categoryAxisLabel, String dateAxisLabel, IntervalCategoryDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a Gantt chart using the supplied attributes plus default values where required. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a DateAxis as the range axis, and a GanttRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  dateAxisLabel - the label for the date axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A Gantt chart.



createHighLowChart
public static JFreeChart createHighLowChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, boolean legend)(Code)
Creates and returns a default instance of a high-low-open-close chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required. A high-low-open-close chart.



createHighLowChart
public static JFreeChart createHighLowChart(String title, String timeAxisLabel, String valueAxisLabel, OHLCDataset dataset, Timeline timeline, boolean legend)(Code)
Creates and returns a default instance of a high-low-open-close chart with a special timeline. This timeline can be a org.jfree.chart.axis.SegmentedTimeline such as the Monday through Friday timeline that will remove Saturdays and Sundays from the axis.
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  timeline - the timeline.
Parameters:
  legend - a flag specifying whether or not a legend is required. A high-low-open-close chart.



createHistogram
public static JFreeChart createHistogram(String title, String xAxisLabel, String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a histogram chart. This chart is constructed with an XYPlot using an XYBarRenderer . The domain and range axes are NumberAxis instances.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - the x axis label (null permitted).
Parameters:
  yAxisLabel - the y axis label (null permitted).
Parameters:
  dataset - the dataset (null permitted).
Parameters:
  orientation - the orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - create a legend?
Parameters:
  tooltips - display tooltips?
Parameters:
  urls - generate URLs? The chart.



createLineChart
public static JFreeChart createLineChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a line chart with default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and a LineAndShapeRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the chart orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A line chart.



createLineChart3D
public static JFreeChart createLineChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a line chart with default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis3D for the domain axis, a NumberAxis3D as the range axis, and a LineRenderer3D as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the chart orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A line chart.



createMultiplePieChart
public static JFreeChart createMultiplePieChart(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a chart that displays multiple pie plots. The chart object returned by this method uses a MultiplePiePlot instance as the plot.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset (null permitted).
Parameters:
  order - the order that the data is extracted (by row or by column)(null not permitted).
Parameters:
  legend - include a legend?
Parameters:
  tooltips - generate tooltips?
Parameters:
  urls - generate URLs? A chart.



createMultiplePieChart3D
public static JFreeChart createMultiplePieChart3D(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a chart that displays multiple pie plots. The chart object returned by this method uses a MultiplePiePlot instance as the plot.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset (null permitted).
Parameters:
  order - the order that the data is extracted (by row or by column) (null not permitted).
Parameters:
  legend - include a legend?
Parameters:
  tooltips - generate tooltips?
Parameters:
  urls - generate URLs? A chart.



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

The chart object returned by this method uses a PiePlot instance as the plot.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A pie chart.




createPieChart
public static JFreeChart createPieChart(String title, PieDataset dataset, PieDataset previousDataset, int percentDiffForMaxScale, boolean greenForIncrease, boolean legend, boolean tooltips, boolean urls, boolean subTitle, boolean showDifference)(Code)
Creates a pie chart with default settings that compares 2 datasets. The colour of each section will be determined by the move from the value for the same key in previousDataset. ie if value1 > value2 then the section will be in green (unless greenForIncrease is false, in which case it would be red). Each section can have a shade of red or green as the difference can be tailored between 0% (black) and percentDiffForMaxScale% (bright red/green).

For instance if percentDiffForMaxScale is 10 (10%), a difference of 5% will have a half shade of red/green, a difference of 10% or more will have a maximum shade/brightness of red/green.

The chart object returned by this method uses a PiePlot instance as the plot.

Written by Benoit Xhenseval.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  previousDataset - the dataset for the last run, this will be used to compare each key in the dataset
Parameters:
  percentDiffForMaxScale - scale goes from bright red/green to black,percentDiffForMaxScale indicate the change required to reach top scale.
Parameters:
  greenForIncrease - an increase since previousDataset will be displayed in green (decrease red) if true.
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs?
Parameters:
  subTitle - displays a subtitle with colour scheme if true
Parameters:
  showDifference - create a new dataset that will show the % difference between the two datasets. A pie chart.




createPieChart3D
public static JFreeChart createPieChart3D(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a 3D pie chart using the specified dataset. The chart object returned by this method uses a PiePlot3D instance as the plot.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A pie chart.



createPolarChart
public static JFreeChart createPolarChart(String title, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a polar plot for the specified dataset (x-values interpreted as angles in degrees). The chart object returned by this method uses a PolarPlot instance as the plot, with a NumberAxis for the radial axis.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset (null permitted).
Parameters:
  legend - legend required?
Parameters:
  tooltips - tooltips required?
Parameters:
  urls - URLs required? A chart.



createRingChart
public static JFreeChart createRingChart(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a ring chart with default settings.

The chart object returned by this method uses a RingPlot instance as the plot.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A pie chart.




createScatterPlot
public static JFreeChart createScatterPlot(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a scatter plot with default settings. The chart object returned by this method uses an XYPlot instance as the plot, with a NumberAxis for the domain axis, a NumberAxis as the range axis, and an XYLineAndShapeRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A scatter plot.



createStackedAreaChart
public static JFreeChart createStackedAreaChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a stacked area chart with default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and a StackedAreaRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A stacked area chart.



createStackedBarChart
public static JFreeChart createStackedBarChart(String title, String domainAxisLabel, String rangeAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a stacked bar chart with default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and a StackedBarRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  domainAxisLabel - the label for the category axis (null permitted).
Parameters:
  rangeAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the orientation of the chart (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A stacked bar chart.



createStackedBarChart3D
public static JFreeChart createStackedBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a stacked bar chart with a 3D effect and default settings. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis3D for the domain axis, a NumberAxis3D as the range axis, and a StackedBarRenderer3D as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the orientation (horizontal or vertical) (null not permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A stacked bar chart with a 3D effect.



createStackedXYAreaChart
public static JFreeChart createStackedXYAreaChart(String title, String xAxisLabel, String yAxisLabel, TableXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a stacked XY area plot. The chart object returned by this method uses an XYPlot instance as the plot, with a NumberAxis for the domain axis, a NumberAxis as the range axis, and a StackedXYAreaRenderer2 as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A stacked XY area chart.



createTimeSeriesChart
public static JFreeChart createTimeSeriesChart(String title, String timeAxisLabel, String valueAxisLabel, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates and returns a time series chart. A time series chart is an XYPlot with a DateAxis for the x-axis and a NumberAxis for the y-axis. The default renderer is an XYLineAndShapeRenderer .

A convenient dataset to use with this chart is a org.jfree.data.time.TimeSeriesCollection .
Parameters:
  title - the chart title (null permitted).
Parameters:
  timeAxisLabel - a label for the time axis (null permitted).
Parameters:
  valueAxisLabel - a label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A time series chart.




createWaferMapChart
public static JFreeChart createWaferMapChart(String title, WaferMapDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a wafer map chart.
Parameters:
  title - the chart title (null permitted).
Parameters:
  dataset - the dataset (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted.
Parameters:
  legend - display a legend?
Parameters:
  tooltips - generate tooltips?
Parameters:
  urls - generate URLs? A wafer map chart.



createWaterfallChart
public static JFreeChart createWaterfallChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a waterfall chart. The chart object returned by this method uses a CategoryPlot instance as the plot, with a CategoryAxis for the domain axis, a NumberAxis as the range axis, and a WaterfallBarRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  categoryAxisLabel - the label for the category axis (null permitted).
Parameters:
  valueAxisLabel - the label for the value axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A waterfall chart.



createWindPlot
public static JFreeChart createWindPlot(String title, String xAxisLabel, String yAxisLabel, WindDataset dataset, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a wind plot with default settings.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the x-axis (null permitted).
Parameters:
  yAxisLabel - a label for the y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  legend - a flag that controls whether or not a legend is created.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A wind plot.



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

The chart object returned by this method uses an XYPlot instance as the plot, with a NumberAxis for the domain axis, a NumberAxis as the range axis, and a XYAreaRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? An XY area chart.




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

The chart object returned by this method uses an XYPlot instance as the plot, with a DateAxis for the domain axis, a NumberAxis as the range axis, and a XYBarRenderer as the renderer.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  dateAxis - make the domain axis display dates?
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? An XY bar chart.




createXYLineChart
public static JFreeChart createXYLineChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a line chart (based on an XYDataset ) with default settings.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? The chart.



createXYStepAreaChart
public static JFreeChart createXYStepAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a filled stepped XY plot with default settings.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A chart.



createXYStepChart
public static JFreeChart createXYStepChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)(Code)
Creates a stepped XY plot with default settings.
Parameters:
  title - the chart title (null permitted).
Parameters:
  xAxisLabel - a label for the X-axis (null permitted).
Parameters:
  yAxisLabel - a label for the Y-axis (null permitted).
Parameters:
  dataset - the dataset for the chart (null permitted).
Parameters:
  orientation - the plot orientation (horizontal or vertical) (null NOT permitted).
Parameters:
  legend - a flag specifying whether or not a legend is required.
Parameters:
  tooltips - configure chart to generate tool tips?
Parameters:
  urls - configure chart to generate URLs? A chart.



Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.