public class ChartBeansGeneratorUtil extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildEmptyOpenFlashChartHtmlFragment(String msg) |
static String |
createChartAsHtml(org.pentaho.platform.api.engine.IPentahoSession userSession,
Map<String,Object> parameterMap,
String serializedChartDataDefinition,
String serializedChartModel,
int chartWidth,
int chartHeight) |
static String |
createChartAsHtml(org.pentaho.platform.api.engine.IPentahoSession userSession,
Map<String,Object> parameterMap,
String serializedChartDataDefinition,
String serializedChartModel,
int chartWidth,
int chartHeight,
String contentLinkingTemplate) |
static String |
mergeJFreeChartHtmlTemplate(File imageFile,
String imageMap,
String imageMapName,
int chartWidth,
int chartHeight,
String contextPath) |
static String |
mergeOpenFlashChartHtmlTemplate(String openFlashChartJson,
String swfUrl)
Does this method belong in ChartBeansGeneratorUtil? ChartBeansGeneratorUtil may be more of a convenience for
executing the default ActionSequence, if this is to hold true, this method probably needs a new home more central
to the ChartBeans code.
|
static String |
mergeStaticImageHtmlTemplate(String imageUrl)
Returns a complete HTML document that references a static image held in a temporary file on the server.
|
public static String createChartAsHtml(org.pentaho.platform.api.engine.IPentahoSession userSession, Map<String,Object> parameterMap, String serializedChartDataDefinition, String serializedChartModel, int chartWidth, int chartHeight) throws IOException
IOException
public static String createChartAsHtml(org.pentaho.platform.api.engine.IPentahoSession userSession, Map<String,Object> parameterMap, String serializedChartDataDefinition, String serializedChartModel, int chartWidth, int chartHeight, String contentLinkingTemplate) throws IOException
IOException
public static String mergeJFreeChartHtmlTemplate(File imageFile, String imageMap, String imageMapName, int chartWidth, int chartHeight, String contextPath)
public static String mergeStaticImageHtmlTemplate(String imageUrl)
Only exposed for debugging (i.e. hosted mode) purposes.
public static String mergeOpenFlashChartHtmlTemplate(String openFlashChartJson, String swfUrl)
Only exposed for debugging (i.e. hosted mode) purposes.
Copyright © 2021 Hitachi Vantara. All rights reserved.