org.pentaho.chart.plugin.jfreechart
Class JFreeChartFactoryEngine
java.lang.Object
org.pentaho.chart.plugin.jfreechart.JFreeChartFactoryEngine
- All Implemented Interfaces:
- Serializable
public class JFreeChartFactoryEngine
- extends Object
- implements Serializable
- See Also:
- Serialized Form
JFreeChartFactoryEngine
public JFreeChartFactoryEngine()
makeChart
public IOutput makeChart(ChartModel chartModel,
IChartDataModel chartDataModel)
makeChart
public IOutput makeChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext,
ChartResult chartResult)
makeAreaChart
public org.jfree.chart.JFreeChart makeAreaChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
makePieChart
public org.jfree.chart.JFreeChart makePieChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
makeDialChart
public org.jfree.chart.JFreeChart makeDialChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
makeBarChart
public org.jfree.chart.JFreeChart makeBarChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
throws Exception
- Throws:
Exception
makeLineChart
public org.jfree.chart.JFreeChart makeLineChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
throws Exception
- Throws:
Exception
makeMultiChart
public org.jfree.chart.JFreeChart makeMultiChart(ChartTableModel data,
ChartDocumentContext chartDocumentContext)
determineChartType
public org.pentaho.reporting.libraries.css.values.CSSConstant determineChartType(ChartDocument chartDocument)
- Determines what type of chart that should be rendered. It is possible that this method
could somehow be moved up into the AbstractChartPlugin
- Parameters:
chartDocument
- that defines what type of chart to use
- Returns:
- a ChartType that represents the type of chart the chartDocument is requesting.