Interface IChartRendererService


  • public interface IChartRendererService
    Chart renderer service. Note that implementation must be thread safe.
    Author:
    hengsin
    • Method Detail

      • renderPerformanceIndicator

        boolean renderPerformanceIndicator​(org.zkoss.zk.ui.Component parent,
                                           int chartWidth,
                                           int chartHeight,
                                           IndicatorModel model)
        render indicator chart for PA_Goal
        Parameters:
        parent -
        chartWidth -
        chartHeight -
        model -
        Returns:
        true if render successfully
      • renderPerformanceGraph

        boolean renderPerformanceGraph​(org.zkoss.zk.ui.Component parent,
                                       int chartWidth,
                                       int chartHeight,
                                       GoalModel goalModel)
        render chart for PA_Goal
        Parameters:
        parent -
        chartWidth -
        chartHeight -
        goalModel -
        Returns:
        true if render successfully
      • renderChart

        boolean renderChart​(org.zkoss.zk.ui.Component parent,
                            int width,
                            int height,
                            ChartModel chartModel)
        render chart for AD_Chart
        Parameters:
        parent -
        width -
        height -
        chartModel -
        Returns:
        true if render successfully