charreport.java

来自「使用jfreechart制作jsp图形统计」· Java 代码 · 共 171 行

JAVA
171
字号
package com.report;

import org.jfree.chart.JFreeChart;

import com.domain.DatasetObj;

public interface CharReport {
	/**
	 * 接口定义
	 * 
	 * @param datasetObj	JFreeChartt数据集
	 * @return				返回JFreeChart
	 * @throws Exception
	 */
	
	/*
	 * 2D折线图
	 */
	public JFreeChart line2D(DatasetObj datasetObj) throws Exception;

	/*
	 * 3D折线图
	 */
	public JFreeChart line3D(DatasetObj datasetObj) throws Exception;

	/*
	 * XY数据点折线图
	 */
	public JFreeChart lineDataPoint(DatasetObj datasetObj) throws Exception;

	/*
	 * 面积图
	 */
	public JFreeChart area(DatasetObj datasetObj) throws Exception;

	/*
	 * 堆积面积图
	 */
	public JFreeChart areaStacked(DatasetObj datasetObj) throws Exception;

	/*
	 * XY数据点面积图
	 */
	public JFreeChart areaDataPoint(DatasetObj datasetObj) throws Exception;

	/*
	 * XY数据点阶梯面积图
	 */
	public JFreeChart areaDataStep(DatasetObj datasetObj) throws Exception;

	/*
	 * 数据点堆积面积图
	 */
	public JFreeChart areaDataStacked(DatasetObj datasetObj) throws Exception;

	/*
	 * 2D柱图
	 */
	public JFreeChart bar2D(DatasetObj datasetObj) throws Exception;

	/*
	 * 3D柱图
	 */
	public JFreeChart bar3D(DatasetObj datasetObj) throws Exception;
	
	/*
	 * 2D柱线图
	 */
	public JFreeChart barLine2D(DatasetObj datasetObj) throws Exception;
	
	/*
	 * 3D柱线图
	 */
	public JFreeChart barLine3D(DatasetObj datasetObj) throws Exception;

	/*
	 * 2D堆积柱图
	 */
	public JFreeChart bar2DStacked(DatasetObj datasetObj) throws Exception;

	/*
	 * 3D堆积柱图
	 */
	public JFreeChart bar3DStacked(DatasetObj datasetObj) throws Exception;

	/*
	 * XY数据点柱状图
	 */
	public JFreeChart barDataPoint(DatasetObj datasetObj) throws Exception;

	/*
	 * 2D饼状图
	 */
	public JFreeChart pie2D(DatasetObj datasetObj) throws Exception;

	/*
	 * 3D饼状图
	 */
	public JFreeChart pie3D(DatasetObj datasetObj) throws Exception;

	/*
	 * 2D复合饼状图
	 */
	public JFreeChart pie2DMultiple(DatasetObj datasetObj) throws Exception;

	/*
	 * 3D复合饼状图
	 */
	public JFreeChart pie3DMultiple(DatasetObj datasetObj) throws Exception;

	/*
	 * 环形图
	 */
	public JFreeChart ring(DatasetObj datasetObj) throws Exception;

	/*
	 * 散点图
	 */
	public JFreeChart scatter(DatasetObj datasetObj) throws Exception;

	/*
	 * 组织图
	 */
	public JFreeChart histogram(DatasetObj datasetObj) throws Exception;

	/*
	 * 气泡图
	 */
	public JFreeChart bubble(DatasetObj datasetObj) throws Exception;

	/*
	 * 甘特图
	 */
	public JFreeChart gantt(DatasetObj datasetObj) throws Exception;

	/*
	 * 股价图
	 */
	public JFreeChart highLow(DatasetObj datasetObj) throws Exception;

	/*
	 * 烛台图
	 */
	public JFreeChart candlestick(DatasetObj datasetObj) throws Exception;

	/*
	 * 雷达图
	 */
	public JFreeChart polar(DatasetObj datasetObj) throws Exception;
	
	/*
	 * 瀑布图
	 */
	public JFreeChart waterFall(DatasetObj datasetObj) throws Exception;
	
	/*
	 * 晶片图
	 */
	public JFreeChart waferMap(DatasetObj datasetObj) throws Exception;
	
	/*
	 * 时序图
	 */
	public JFreeChart timeSeries(DatasetObj datasetObj) throws Exception;
	
	/*
	 * WindPlot
	 */
	public JFreeChart windPlot(DatasetObj datasetObj) throws Exception;
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?