摘要:
package com.supcon.honcomb.basearchives.entity;import java.awt.AlphaComposite;import java.awt.Color;import java.awt.Composite;import java.awt.Graphics2D;import java.awt.Paint;import java.awt.Polygon;import java.awt.Rectangle;import java.awt.Shape;import java.awt.Stroke;import java.awt.font.FontRende 阅读全文
摘要:
package com.supcon.contingency.util;import java.awt.BasicStroke;import java.awt.Color;import java.awt.Font;import java.awt.geom.Ellipse2D;import java.io.UnsupportedEncodingException;import java.util.List;import org.jfree.chart.ChartFactory;import org.jfree.chart.ChartUtilities;import org.jfree.chart 阅读全文
摘要:
JFreeChart chart = JFreeChartTool.ToLineChart(list);try {HttpSession session = ServletActionContext.getRequest().getSession();String filename = ServletUtilities.saveChartAsPNG(chart, 500,300, null, session);System.out.println(filename);String graphURL = request.getContextPath()+ "/servlet/Displ 阅读全文