org.pentaho.chart.plugin.jfreechart.chart.bar
Class JFreeBarChartGenerator

java.lang.Object
  extended by org.pentaho.chart.plugin.jfreechart.chart.JFreeChartGenerator
      extended by org.pentaho.chart.plugin.jfreechart.chart.bar.JFreeBarChartGenerator
All Implemented Interfaces:
IJFreeChartGenerator
Direct Known Subclasses:
JFree3DBarChartGenerator, JFreeCylinderBarChartGenerator, JFreeDefaultBarChartGenerator, JFreeLayeredBarChartGenerator, JFreeStackedBarChartGenerator, JFreeWaterfallBarChartGenerator

public abstract class JFreeBarChartGenerator
extends JFreeChartGenerator

Generates JFreeChart object that is bar chart type.

Author: Ravi Hasija Date: May 14, 2008 Time: 1:09:34 PM


Constructor Summary
JFreeBarChartGenerator()
           
 
Method Summary
 org.jfree.chart.JFreeChart createChart(ChartDocumentContext chartDocContext, ChartTableModel data, String 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

JFreeBarChartGenerator

public JFreeBarChartGenerator()
Method Detail

createChart

public org.jfree.chart.JFreeChart createChart(ChartDocumentContext chartDocContext,
                                              ChartTableModel data,
                                              String 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 - Bar chart type (interval, stacked, default/basic)
Returns:
Returns the JFree chart object (created by the method)