public class JFreeChartHelper
extends java.lang.Object
Constructor and Description |
---|
JFreeChartHelper() |
Modifier and Type | Method and Description |
---|---|
static void |
drawChart(org.zkoss.zul.Chart chart,
SChart chartInfo) |
static JFreeChart |
drawJFreeChart(SChart chartInfo) |
static java.lang.String |
getChartType(SChart chartInfo) |
static java.awt.Font |
getCustomFont(java.lang.String key)
chart's font property value format: [NAME], [WEIGHT], [SIZE] e.g.
|
static PlotOrientation |
getOrientation(SChart chartInfo) |
static void |
prepareAxis(JFreeChart jfchart,
SChart chartInfo) |
static org.zkoss.zul.ChartModel |
prepareCategoryModel(SChartData chartData)
We treat those non-numeric data in a series as 0.
|
static org.zkoss.zul.ChartModel |
prepareHiLoModel(SChartData chartData) |
static org.zkoss.zul.ChartModel |
preparePieModel(SChartData chartData) |
static org.zkoss.zul.XYModel |
prepareXYModel(SChartData chartData)
Scatter chart that uses XYModel has following characteristics:
1.
|
static org.zkoss.zul.XYZModel |
prepareXYZModel(SChartData chartData)
The bubble chart that use XYZModel has similar characteristics as scatter chart.
|
public static JFreeChart drawJFreeChart(SChart chartInfo)
public static java.lang.String getChartType(SChart chartInfo)
public static PlotOrientation getOrientation(SChart chartInfo)
public static void drawChart(org.zkoss.zul.Chart chart, SChart chartInfo)
public static org.zkoss.zul.ChartModel prepareHiLoModel(SChartData chartData)
public static org.zkoss.zul.ChartModel prepareCategoryModel(SChartData chartData)
public static org.zkoss.zul.XYModel prepareXYModel(SChartData chartData)
public static org.zkoss.zul.XYZModel prepareXYZModel(SChartData chartData)
prepareXYModel(SChartData)
public static org.zkoss.zul.ChartModel preparePieModel(SChartData chartData)
public static java.awt.Font getCustomFont(java.lang.String key)
key
- public static void prepareAxis(JFreeChart jfchart, SChart chartInfo)
Copyright © 2005-2010 Potix Corporation. All Rights Reserved.