org.pentaho.chart.plugin.jfreechart.chart.bar
Class JFreeBarChartGenerator
java.lang.Object
org.pentaho.chart.plugin.jfreechart.chart.JFreeChartGenerator
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
JFreeBarChartGenerator
public JFreeBarChartGenerator()
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)