Package io.keikaiex.util
Class ZssChartExportEngine
- java.lang.Object
-
- io.keikaiex.util.ZssChartExportEngine
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LineChartExportEngine
,PieChartExportEngine
public class ZssChartExportEngine extends Object implements Serializable
A utility to export jfreechart with 3.5 model directly.- Author:
- kuro
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected SChart
_chartInfo
-
Constructor Summary
Constructors Constructor Description ZssChartExportEngine(SChart chartInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.jfree.data.category.CategoryDataset
CategoryModelToCategoryDataset(org.zkoss.zul.CategoryModel model)
protected org.jfree.chart.JFreeChart
createJFreeChart()
protected double
doubleValue(Number n)
org.jfree.chart.JFreeChart
drawJFreeChart()
protected org.jfree.data.xy.OHLCDataset
HiLoModelToOHLCDataset(org.zkoss.zul.HiLoModel model)
protected org.jfree.data.general.PieDataset
PieModelToPieDataset(org.zkoss.zul.PieModel model)
protected boolean
prepareJFreeChart(org.jfree.chart.JFreeChart jfchart)
protected org.jfree.data.xy.XYDataset
XYModelToXYDataset(org.zkoss.zul.XYModel model)
protected org.jfree.data.xy.XYZDataset
XYZModelToXYZDataset(org.zkoss.zul.XYZModel model)
-
-
-
Field Detail
-
_chartInfo
protected final SChart _chartInfo
-
-
Constructor Detail
-
ZssChartExportEngine
public ZssChartExportEngine(SChart chartInfo)
-
-
Method Detail
-
drawJFreeChart
public org.jfree.chart.JFreeChart drawJFreeChart()
-
prepareJFreeChart
protected boolean prepareJFreeChart(org.jfree.chart.JFreeChart jfchart)
-
createJFreeChart
protected org.jfree.chart.JFreeChart createJFreeChart()
-
PieModelToPieDataset
protected org.jfree.data.general.PieDataset PieModelToPieDataset(org.zkoss.zul.PieModel model)
-
CategoryModelToCategoryDataset
protected org.jfree.data.category.CategoryDataset CategoryModelToCategoryDataset(org.zkoss.zul.CategoryModel model)
-
XYModelToXYDataset
protected org.jfree.data.xy.XYDataset XYModelToXYDataset(org.zkoss.zul.XYModel model)
-
XYZModelToXYZDataset
protected org.jfree.data.xy.XYZDataset XYZModelToXYZDataset(org.zkoss.zul.XYZModel model)
-
HiLoModelToOHLCDataset
protected org.jfree.data.xy.OHLCDataset HiLoModelToOHLCDataset(org.zkoss.zul.HiLoModel model)
-
doubleValue
protected double doubleValue(Number n)
-
-