org.pentaho.chart
Class ChartBeanFactory
java.lang.Object
org.pentaho.chart.ChartBeanFactory
public class ChartBeanFactory
- extends Object
Method Summary |
static InputStream |
createChart(Object[][] queryResults,
ChartModel chartModel,
int width,
int height,
IOutput.OutputTypes outputType)
|
static InputStream |
createChart(Object[][] queryResults,
Number scalingFactor,
boolean convertNullsToZero,
int rangeColumnIndex,
int domainColumnIdx,
int categoryColumnIdx,
ChartModel chartModel,
int width,
int height,
IOutput.OutputTypes outputType)
|
static IChartPlugin |
getPlugin(String pluginId)
|
static void |
loadDefaultChartPlugins(List<IChartPlugin> plugins)
This method is called from a platform system listener on startup,
to initialize the available plugins from the chartbeans configuration file. |
getPlugin
public static IChartPlugin getPlugin(String pluginId)
loadDefaultChartPlugins
public static void loadDefaultChartPlugins(List<IChartPlugin> plugins)
- This method is called from a platform system listener on startup,
to initialize the available plugins from the chartbeans configuration file.
createChart
public static InputStream createChart(Object[][] queryResults,
ChartModel chartModel,
int width,
int height,
IOutput.OutputTypes outputType)
throws ChartProcessingException,
SQLException,
org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException,
PersistenceException
- Throws:
ChartProcessingException
SQLException
org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException
PersistenceException
createChart
public static InputStream createChart(Object[][] queryResults,
Number scalingFactor,
boolean convertNullsToZero,
int rangeColumnIndex,
int domainColumnIdx,
int categoryColumnIdx,
ChartModel chartModel,
int width,
int height,
IOutput.OutputTypes outputType)
throws ChartProcessingException,
SQLException,
org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException,
PersistenceException
- Throws:
ChartProcessingException
SQLException
org.pentaho.reporting.libraries.resourceloader.ResourceKeyCreationException
PersistenceException