org.pentaho.chart.plugin.jfreechart
Class JFreeChartPlugin
java.lang.Object
org.pentaho.chart.plugin.AbstractChartPlugin
org.pentaho.chart.plugin.jfreechart.JFreeChartPlugin
- All Implemented Interfaces:
- IChartPlugin
public class JFreeChartPlugin
- extends AbstractChartPlugin
- Author:
- wseyler
PLUGIN_ID
public static final String PLUGIN_ID
- See Also:
- Constant Field Values
JFreeChartPlugin
public JFreeChartPlugin()
renderChartDocument
public IOutput renderChartDocument(ChartDocumentContext chartDocumentContext,
ChartTableModel data)
- Description copied from interface:
IChartPlugin
- Renders the chart based on the chartDocument and data. Chart can be accessed via the output parameter
which gets returned from this method call
- Returns:
- IOutput
getPluginId
public String getPluginId()
renderChartDocument
public IOutput renderChartDocument(ChartModel chartModel,
IChartDataModel data)
validateChartDocument
public ChartResult validateChartDocument(ChartDocument chartDocument)
- Description copied from interface:
IChartPlugin
- Validates the current chart document. AbstractChartPlugin implements the validations that are
NOT plugin specific. The plugin should override and call the super before doing it's validation
- Specified by:
validateChartDocument
in interface IChartPlugin
- Overrides:
validateChartDocument
in class AbstractChartPlugin
- Returns:
getSupportedOutputs
public Set<IOutput.OutputTypes> getSupportedOutputs()
- Description copied from interface:
IChartPlugin
- Returns a set of OutputTypes that this plugin can return (via the IOutput returned from renderChartDocument).
- Returns: