org.pentaho.chart.plugin.jfreechart.chart.area
Class JFreeAreaChartGenerator

java.lang.Object
  extended by org.pentaho.chart.plugin.jfreechart.chart.JFreeChartGenerator
      extended by org.pentaho.chart.plugin.jfreechart.chart.area.JFreeAreaChartGenerator
All Implemented Interfaces:
IJFreeChartGenerator
Direct Known Subclasses:
JFreeDefaultAreaChartGenerator, JFreeStackedAreaChartGenerator

public abstract class JFreeAreaChartGenerator
extends JFreeChartGenerator

Creates different area charts i.e. basic, stacked, xy etc.

Author: Ravi Hasija Date: May 16, 2008 Time: 12:44:11 PM


Constructor Summary
JFreeAreaChartGenerator()
           
 
Method Summary
 org.jfree.chart.JFreeChart createChart(ChartDocumentContext chartDocContext, ChartTableModel data, org.pentaho.reporting.libraries.css.values.CSSConstant chartType)
          Creates the JFree chart based on the chart document, data provided and type of chart expected.
 
Methods inherited from class org.pentaho.chart.plugin.jfreechart.chart.JFreeChartGenerator
createChart, createRangeAxis, getColumPositions, getPaintFromSeries, getPlotOrientation, getShowLegend, getShowToolTips, getTitle, getValueAxisLabel, getValueCategoryLabel
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JFreeAreaChartGenerator

public JFreeAreaChartGenerator()
Method Detail

createChart

public org.jfree.chart.JFreeChart createChart(ChartDocumentContext chartDocContext,
                                              ChartTableModel data,
                                              org.pentaho.reporting.libraries.css.values.CSSConstant chartType)
Creates the JFree chart based on the chart document, data provided and type of chart expected.

Parameters:
chartDocContext - Chart documument context for the current chart.
data - Data for the current chart.
chartType - Area chart type (default, stacked, xy)
Returns:
Returns the JFree chart object (created by the method)