Package org.adempiere.apps.graph
Class ChartBuilder
- java.lang.Object
-
- org.adempiere.apps.graph.ChartBuilder
-
public class ChartBuilder extends Object
- Author:
- Paul Bowden, Adaxa Pty Ltd, hengsin
-
-
Constructor Summary
Constructors Constructor Description ChartBuilder(MChart chart)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jfree.chart.JFreeChart
createChart()
org.jfree.data.category.CategoryDataset
getCategoryDataset()
org.jfree.data.general.Dataset
getDataset()
org.jfree.data.general.PieDataset
getPieDataset()
HashMap<String,MQuery>
getQueries()
MQuery
getQuery(String key)
org.jfree.data.xy.IntervalXYDataset
getXYDataset()
void
loadData()
-
-
-
Constructor Detail
-
ChartBuilder
public ChartBuilder(MChart chart)
-
-
Method Detail
-
createChart
public org.jfree.chart.JFreeChart createChart()
- Returns:
- JFreeChart
-
loadData
public void loadData()
-
getCategoryDataset
public org.jfree.data.category.CategoryDataset getCategoryDataset()
-
getXYDataset
public org.jfree.data.xy.IntervalXYDataset getXYDataset()
-
getPieDataset
public org.jfree.data.general.PieDataset getPieDataset()
-
getDataset
public org.jfree.data.general.Dataset getDataset()
-
-