org.pentaho.platform.uifoundation.chart
Class FlashChartHelper
java.lang.Object
org.pentaho.platform.uifoundation.chart.FlashChartHelper
public class FlashChartHelper
- extends Object
This class provides wrapper functions to make it easier to generate flash
charts within a dashboard environment.
Method Summary |
static boolean |
doFlashChart(String solutionName,
String actionPath,
String chartName,
IParameterProvider parameterProvider,
StringBuffer outputStream,
IPentahoSession userSession,
ArrayList messages,
ILogger logger)
doFlashChart generates a flash media player chart. |
static boolean |
doFlashDial(String solutionName,
String actionPath,
String actionName,
IParameterProvider parameterProvider,
StringBuffer outputStream,
IPentahoSession userSession,
ArrayList messages,
ILogger logger)
doFlashDial generates a flash media player dial. |
FlashChartHelper
public FlashChartHelper()
doFlashChart
public static boolean doFlashChart(String solutionName,
String actionPath,
String chartName,
IParameterProvider parameterProvider,
StringBuffer outputStream,
IPentahoSession userSession,
ArrayList messages,
ILogger logger)
- doFlashChart generates a flash media player chart. It provides a simple
wrapper around the org.pentaho.platform.chart.FlashChartComponent
- Parameters:
solutionName
- the solution nameactionPath
- the action pathchartName
- the xml file describing the chartparameterProvider
- the collection of parameters to customize the chartoutputStream
- the output string buffer for the contentuserSession
- the user session objectmessages
- a collection to store error and logging messageslogger
- logging object
- Returns:
- true if successful
doFlashDial
public static boolean doFlashDial(String solutionName,
String actionPath,
String actionName,
IParameterProvider parameterProvider,
StringBuffer outputStream,
IPentahoSession userSession,
ArrayList messages,
ILogger logger)
- doFlashDial generates a flash media player dial. It provides a simple
wrapper around the org.pentaho.platform.chart.FlashChartComponent
- Parameters:
solutionName
- the solution nameactionPath
- the action pathchartName
- the xml file describing the chartparameterProvider
- the collection of parameters to customize the chartoutputStream
- the output string buffer for the contentuserSession
- the user session objectmessages
- a collection to store error and logging messageslogger
- logging object
- Returns:
- true if successful