-
大小: 7.68MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-09-24
- 语言: 其他
- 标签: jfreechart 1.0.19
资源简介
jfreechart 完整版
包含comments和完整demo
代码片段和文件信息
/* ===========================================================
* JFreeChart : a free chart library for the Java(tm) platform
* ===========================================================
*
* (C) Copyright 2000-2013 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.
*
* [Oracle and Java are registered trademarks of Oracle and/or its affiliates.
* Other names may be trademarks of their respective owners.]
*
* ------------------------------
* 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“;
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2014-07-31 14:02 jfreechart-1.0.19\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\ant\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\checkst
目录 0 2014-07-31 14:02 jfreechart-1.0.19\docfiles\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\chart\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\chart\demo\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\chart\plot\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\chart\renderer\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\experimental\org\jfree\experimental\chart\renderer\xy\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\lib\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\annotations\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\axis\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\block\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\demo\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\editor\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\encoders\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\entity\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\event\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\fx\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\fx\demo\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\fx\interaction\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\imagemap\
目录 0 2014-07-31 14:02 jfreechart-1.0.19\source\org\jfree\chart\labels\
............此处省略1240个文件信息
评论
共有 条评论