Interface IChartBeansGenerator
- All Known Implementing Classes:
DefaultChartBeansGenerator
public interface IChartBeansGenerator
-
Method Summary
Modifier and TypeMethodDescriptionbuildOpenFlashChartHtmlFragment
(String openFlashChartJson, String swfUrl, String chartWidth, String chartHeight) createChartAsHtml
(org.pentaho.platform.api.engine.IPentahoSession userSession, Map<String, Object> parameterMap, String serializedChartDataDefinition, String serializedChartModel, int chartWidth, int chartHeight) Convenience method that returns a complete HTML document containing the chart.mergeJFreeChartHtmlTemplate
(File imageFile, String imageMap, String imageMapName, int chartWidth, int chartHeight, String contextPath) mergeOpenFlashChartHtmlTemplate
(String openFlashChartJson, String swfUrl) mergeStaticImageHtmlTemplate
(String imageUrl)
-
Method Details
-
createChartAsHtml
String createChartAsHtml(org.pentaho.platform.api.engine.IPentahoSession userSession, Map<String, Object> parameterMap, String serializedChartDataDefinition, String serializedChartModel, int chartWidth, int chartHeight) throws IOExceptionConvenience method that returns a complete HTML document containing the chart. Resource references point back to the BI Server.- Throws:
IOException
-
mergeStaticImageHtmlTemplate
-
mergeOpenFlashChartHtmlTemplate
-
buildEmptyOpenFlashChartHtmlFragment
-
buildOpenFlashChartHtmlFragment
-
getHtmlTemplate
String getHtmlTemplate() -
getFlashScriptFragment
String getFlashScriptFragment() -
getFlashObjectFragment
String getFlashObjectFragment() -
mergeJFreeChartHtmlTemplate
-