资源简介
JFreeChart 的测试代码,各种报表演示
代码片段和文件信息
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2008 by object Refinery Limited and Contributors.
*
* Project Info: http://www.jfree.org/jfreechart/index.html
*
* This library is free software; you can redistribute it and/or modify it
* under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation; either version 2.1 of the License or
* (at your option) any later version.
*
* This library is distributed in the hope that it will be useful but
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
* or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
* License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not write to the Free Software
* Foundation Inc. 51 Franklin Street Fifth Floor Boston MA 02110-1301
* USA.
*
* [Java is a trademark or registered trademark of Sun Microsystems Inc.
* in the United States and other countries.]
*
* ------------------------------
* CombinedCategoryPlotDemo1.java
* ------------------------------
* (C) Copyright 2008 by object Refinery Limited and Contributors.
*
* Original Author: David Gilbert (for object Refinery Limited);
* Contributor(s): ;
*
* Changes
* -------
* 05-May-2008 : Version 1 (DG);
*
*/
package org.jfree.experimental.chart.demo;
import java.awt.Font;
import javax.swing.JPanel;
import org.jfree.chart.ChartPanel;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.CategoryAxis;
import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.labels.StandardCategoryToolTipGenerator;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.renderer.category.BarRenderer;
import org.jfree.chart.renderer.category.LineAndShapeRenderer;
import org.jfree.data.category.CategoryDataset;
import org.jfree.data.category.DefaultCategoryDataset;
import org.jfree.experimental.chart.plot.CombinedCategoryPlot;
import org.jfree.ui.Applicationframe;
import org.jfree.ui.RefineryUtilities;
/**
* A demo for the {@link CombinedCategoryPlot} class.
*/
public class CombinedCategoryPlotDemo1 extends Applicationframe {
/**
* Creates a new demo instance.
*
* @param title the frame title.
*/
public CombinedCategoryPlotDemo1(String title) {
super(title);
JPanel chartPanel = createDemoPanel();
chartPanel.setPreferredSize(new java.awt.Dimension(500 270));
setContentPane(chartPanel);
}
/**
* Creates a dataset.
*
* @return A dataset.
*/
public static CategoryDataset createDataset1() {
DefaultCategoryDataset result = new DefaultCategoryDataset();
String series1 = “First“;
String series2 = “Second“;
String type1 = “Typ
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 913 2012-09-13 09:51 JFreeChartDemo\JFreeChartDemo\.classpath
文件 315 2012-09-11 16:10 JFreeChartDemo\JFreeChartDemo\.myme
文件 1420 2009-11-19 22:49 JFreeChartDemo\JFreeChartDemo\.project
文件 500 2009-11-19 22:45 JFreeChartDemo\JFreeChartDemo\.settings\.jsdtscope
文件 330 2009-11-19 22:45 JFreeChartDemo\JFreeChartDemo\.settings\org.eclipse.jdt.core.prefs
文件 49 2009-11-19 22:45 JFreeChartDemo\JFreeChartDemo\.settings\org.eclipse.wst.jsdt.ui.superType.container
文件 6 2009-11-19 22:45 JFreeChartDemo\JFreeChartDemo\.settings\org.eclipse.wst.jsdt.ui.superType.name
文件 1565280 2007-01-04 10:54 JFreeChartDemo\JFreeChartDemo\doc\jcommon-1.0.6.zip
文件 3141 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\ant\build-swt.xm
文件 16641 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\ant\build.xm
文件 408318 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\ChangeLog
文件 737 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\checkst
文件 721 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\checkst
文件 186 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\checkst
文件 6579 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\checkst
文件 956 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\checkst
文件 24219 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\AreaRendererSample.png
文件 26466 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\BarRenderer3DSample.png
文件 14368 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\BarRendererSample.png
文件 15502 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\BoxAndWhiskerRendererSample.png
文件 18288 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\CandleStickRendererSample.png
文件 11753 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\CategoryStepRendererSample.png
文件 5839 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\ClusteredXYBarRendererSample.png
文件 25334 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\DeviationRendererSample.png
文件 32922 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\DialPlotSample.png
文件 18711 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\GanttRendererSample.png
文件 19284 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\GroupedStackedBarRendererSample.png
文件 15146 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\HighLowRendererSample.png
文件 15608 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\IntervalBarRendererSample.png
文件 28444 2009-04-20 10:23 JFreeChartDemo\JFreeChartDemo\doc\jfreechart-1.0.13\jfreechart-1.0.13\docfiles\la
............此处省略1293个文件信息
评论
共有 条评论