- 浏览: 11110 次
- 性别:
- 来自: 南京
最新评论
文章列表
生成时序图:
Java代码 收藏代码
1. JFreeChart chart = ChartFactory.createTimeSeriesChart(
2. String title, // 图标题
3. String timeAxisLabel, //x 轴标题
4. String valueAxisLabel, //y 轴标题
5. XYDataset dataset, // 数据源
6. boolean ...
原创 struts2.1.8.1+JFreeChart -1.0.13 的整合之-----教复杂的柱状图 收藏
import java.awt.Font;
import java.io.FileOutputStream;
import java.io.IOException;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.ChartUtilities;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.CategoryAxis;
import ...
ROLLUP 使用 小计 合计
SELECT NVL(L.CHNLNAME, '合计') AS 栏目名称,
NVL(SUM(DECODE(T.CRUSER,'system',1)), 0) AS 采集量,
NVL(SUM(DECODE(T.DOCSTATUS,10,1)),0) AS 发布量
FROM WCMCHNLDOC C , WCMDOCUMENT T , WCMCHANNEL L , WCMWEBSITE E
WHERE T.DOCID = C.DOCID
AND C.CHNLID = L.CHANNELID
AND T. ...
java代码
package com.trswcm.jfreechar;
import java.io.IOException;
import java.io.PrintWriter;
import javax.servlet.http.HttpSession;
import org.jfree.chart.ChartRenderingInfo;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.entity.StandardEntityCollection;
import org.jfree.chart.plot.PiePlo ...
CREATE TABLE `A` (
`EQONAME` varchar(100) collate utf8_bin default NULL,
`EQSORT` varchar(40) collate utf8_bin default NULL,
`EQSUM` decimal(32,0) default NULL,
`OCODE` varchar(40) collate utf8_bin default NULL
)
CREATE TABLE `B` (
`ONAME` varchar(100) collate utf8_bin default NULL,
`OCOD ...