public abstract class ChartFactory
extends java.lang.Object
构造器和说明 |
---|
ChartFactory() |
限定符和类型 | 方法和说明 |
---|---|
static Bar3DPlot |
create3DHorizonDrawPlot()
创建三围横向条形图绘图区
|
static Bar3DPlot |
create3DPercentStackPlot()
创建三围百分比堆积条形图绘图区
|
static Bar3DPlot |
create3DStackPlot()
创建三围堆积条形图绘图区
|
static Bar2DPlot |
createBar2DPlot()
创建条形图绘图区
|
static Bar3DPlot |
createBar3DPlot()
创建三围条形图绘图区
|
static CustomAttr |
createCustomAttrWithType(ChartCustomRendererType chartType,
ChartAxisPosition axisPosition,
int seriesIndex,
boolean isDefault)
根据组合图中的系列图表类型和系列序号默认创建对应的条件属性.
|
static Bar2DPlot |
createPercentStackBar2DPlot()
创建百分比堆积条形图绘图区
|
static void |
createSeriesMap4CustomPlot(CustomPlot plot)
创建CustomPlot的默认系列组合 条件属性
8.0开始条件属性的定义放在customTypeCondition
|
static Bar2DPlot |
createStackBar2DPlot()
创建堆积条形图绘图区
|
static Chart[] |
getChartTypes(int contents)
根据序号取得类型,兼容老早的用整数来标记图表的办法
|
static void |
setChartFontAttr(Plot plot)
设置一些几本的属性
|
public static Chart[] getChartTypes(int contents)
contents
- 序号public static void setChartFontAttr(Plot plot)
plot
- 绘图区对象public static Bar2DPlot createBar2DPlot()
public static Bar2DPlot createStackBar2DPlot()
public static Bar2DPlot createPercentStackBar2DPlot()
public static Bar3DPlot createBar3DPlot()
public static Bar3DPlot create3DHorizonDrawPlot()
public static Bar3DPlot create3DStackPlot()
public static Bar3DPlot create3DPercentStackPlot()
public static void createSeriesMap4CustomPlot(CustomPlot plot)
plot
- 组合图public static CustomAttr createCustomAttrWithType(ChartCustomRendererType chartType, ChartAxisPosition axisPosition, int seriesIndex, boolean isDefault)
chartType
- 图表类型seriesIndex
- 系列序号isDefault
- 是否是默认的属性axisPosition
- 坐标轴位置