Package org.adempiere.webui.apps.graph
Interface IChartRendererService
- All Known Implementing Classes:
ChartRendererServiceImpl
public interface IChartRendererService
Chart renderer service. Note that implementation must be thread safe.
- Author:
- hengsin
-
Method Summary
Modifier and TypeMethodDescriptionboolean
renderChart
(org.zkoss.zk.ui.Component parent, int width, int height, ChartModel chartModel, boolean showTitle) 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 Details
-
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, boolean showTitle) render chart for AD_Chart- Parameters:
parent
-width
-height
-chartModel
-showTitle
-- Returns:
- true if render successfully
-