org.pentaho.chart.plugin.openflashchart
Class OpenFlashChartPlugin

java.lang.Object
  extended by org.pentaho.chart.plugin.AbstractChartPlugin
      extended by org.pentaho.chart.plugin.openflashchart.OpenFlashChartPlugin
All Implemented Interfaces:
IChartPlugin

public class OpenFlashChartPlugin
extends AbstractChartPlugin

Author:
arodriguez

Field Summary
static String PLUGIN_ID
           
 
Fields inherited from interface org.pentaho.chart.plugin.IChartPlugin
ERROR_DUPLICATE_SINGLETON, ERROR_INDETERMINATE_CHART_TYPE, ERROR_INVALID_DEFINITION, ERROR_MISSING_REQUIRED_DATA, RESULT_ERROR, RESULT_VALIDATED
 
Constructor Summary
OpenFlashChartPlugin()
           
 
Method Summary
 String getPluginId()
           
 Set<IOutput.OutputTypes> getSupportedOutputs()
          Returns a set of OutputTypes that this plugin can return (via the IOutput returned from renderChartDocument).
 IOutput renderChartDocument(ChartDocumentContext chartDocumentContext, ChartTableModel data)
          Renders the chart based on the chartDocument and data.
 IOutput renderChartDocument(ChartModel chartModel, IChartDataModel chartTableModel)
           
 
Methods inherited from class org.pentaho.chart.plugin.AbstractChartPlugin
validateChartDocument
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PLUGIN_ID

public static final String PLUGIN_ID
See Also:
Constant Field Values
Constructor Detail

OpenFlashChartPlugin

public OpenFlashChartPlugin()
Method Detail

renderChartDocument

public IOutput renderChartDocument(ChartModel chartModel,
                                   IChartDataModel chartTableModel)

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

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:

getPluginId

public String getPluginId()