-
大小: 18.77MB文件类型: .zip金币: 1下载: 0 次发布日期: 2023-08-06
- 语言: Java
- 标签: JFreeChart
资源简介
zip主要包括:JFreeChart-1.0.19 官方Demo的源码.zip+jfreechart-1.0.19-demo.jar(可运行)+JFreeChart用户开发指南1.0.6(中文).pdf
通过运行jar,查看每个Demo对应的演示结果,再到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 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\
目录 0 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\
目录 0 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\ant\
文件 17073 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\ant\build-fx.xm
文件 3945 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\ant\build-swt.xm
文件 17599 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\ant\build.xm
文件 474130 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\ChangeLog
目录 0 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
文件 737 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
文件 721 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
文件 186 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
文件 6579 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
文件 956 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\checkst
目录 0 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\
文件 24219 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\AreaRendererSample.png
文件 26466 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\BarRenderer3DSample.png
文件 14368 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\BarRendererSample.png
文件 15502 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\BoxAndWhiskerRendererSample.png
文件 18288 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\CandleStickRendererSample.png
文件 11753 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\CategoryStepRendererSample.png
文件 5839 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\ClusteredXYBarRendererSample.png
文件 25334 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\DeviationRendererSample.png
文件 32922 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\DialPlotSample.png
文件 18711 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\GanttRendererSample.png
文件 19284 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\GroupedStackedBarRendererSample.png
文件 15146 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\HighLowRendererSample.png
文件 15608 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\IntervalBarRendererSample.png
文件 28444 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\la
文件 14156 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\LevelRendererSample.png
文件 193492 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\LineAndShapeRendererSample.png
文件 19671 2016-05-11 05:43 jfreechart-0198d4961090fc00c93880fe4c5a66d7c1fef3ef\jfreechart-1.0.19\docfiles\LineRenderer3DSample.png
............此处省略1560个文件信息
评论
共有 条评论