Package org.adempiere.webui.apps.graph
Interface IChartRendererService
-
public interface IChartRendererService
Chart renderer service. Note that implementation must be thread safe.- Author:
- hengsin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
renderChart(org.zkoss.zk.ui.Component parent, int width, int height, ChartModel chartModel)
render chart for AD_Chartboolean
renderPerformanceGraph(org.zkoss.zk.ui.Component parent, int chartWidth, int chartHeight, GoalModel goalModel)
render chart for PA_Goalboolean
renderPerformanceIndicator(org.zkoss.zk.ui.Component parent, int chartWidth, int chartHeight, IndicatorModel model)
render indicator chart for PA_Goal
-
-
-
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
-
-