Interface IChartBeansGenerator

All Known Implementing Classes:
DefaultChartBeansGenerator

public interface IChartBeansGenerator
  • 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 IOException
      Convenience method that returns a complete HTML document containing the chart. Resource references point back to the BI Server.
      Throws:
      IOException
    • mergeStaticImageHtmlTemplate

      String mergeStaticImageHtmlTemplate(String imageUrl)
    • mergeOpenFlashChartHtmlTemplate

      String mergeOpenFlashChartHtmlTemplate(String openFlashChartJson, String swfUrl)
    • buildEmptyOpenFlashChartHtmlFragment

      String buildEmptyOpenFlashChartHtmlFragment(String msg)
    • buildOpenFlashChartHtmlFragment

      String buildOpenFlashChartHtmlFragment(String openFlashChartJson, String swfUrl, String chartWidth, String chartHeight)
    • getHtmlTemplate

      String getHtmlTemplate()
    • getFlashScriptFragment

      String getFlashScriptFragment()
    • getFlashObjectFragment

      String getFlashObjectFragment()
    • mergeJFreeChartHtmlTemplate

      String mergeJFreeChartHtmlTemplate(File imageFile, String imageMap, String imageMapName, int chartWidth, int chartHeight, String contextPath)