Class ChartHelper
- java.lang.Object
-
- org.pentaho.platform.uifoundation.chart.ChartHelper
-
@Deprecated public class ChartHelper extends Object
Deprecated.This class provides wrapper functions to make it easier to execute action sequences and generate a widget.
-
-
Constructor Summary
Constructors Constructor Description ChartHelper()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static boolean
doChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.static boolean
doDial(String solutionName, String actionPath, String chartName, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.use doChart() insteadstatic boolean
doPieChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.use doChart instead
-
-
-
Method Detail
-
doChart
@Deprecated public static boolean doChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.doChart generates the images and html necessary to render various charts within a web page.- Parameters:
actionPath
- full path including the name of the action sequence or resourceparameterProvider
- 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
-
doPieChart
@Deprecated public static boolean doPieChart(String actionPath, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.use doChart insteaddoPieChart generates the images and html necessary to render pie charts. It provides a simple wrapper around the class org.pentaho.ui.component.charting.PieDatasetChartComponent- 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
-
doDial
@Deprecated public static boolean doDial(String solutionName, String actionPath, String chartName, org.pentaho.platform.api.engine.IParameterProvider parameterProvider, StringBuffer outputStream, org.pentaho.platform.api.engine.IPentahoSession userSession, ArrayList messages, org.pentaho.platform.api.engine.ILogger logger)
Deprecated.use doChart() insteaddoDial generates the images and html necessary to render dials. It provides a simple wrapper around the class org.pentaho.ui.component.DashboardWidgetComponent- 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
-
-