亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? jfreechart.java

?? 自己寫的jfreechart demo
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* ===========================================================
 * 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.]
 *
 * ---------------
 * JFreeChart.java
 * ---------------
 * (C) Copyright 2000-2008, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   Andrzej Porebski;
 *                   David Li;
 *                   Wolfgang Irler;
 *                   Christian W. Zuckschwerdt;
 *                   Klaus Rheinwald;
 *                   Nicolas Brodu;
 *
 * NOTE: The above list of contributors lists only the people that have
 * contributed to this source file (JFreeChart.java) - for a list of ALL
 * contributors to the project, please see the README.txt file.
 *
 * Changes (from 20-Jun-2001)
 * --------------------------
 * 20-Jun-2001 : Modifications submitted by Andrzej Porebski for legend
 *               placement;
 * 21-Jun-2001 : Removed JFreeChart parameter from Plot constructors (DG);
 * 22-Jun-2001 : Multiple titles added (original code by David Berry, with
 *               reworkings by DG);
 * 18-Sep-2001 : Updated header (DG);
 * 15-Oct-2001 : Moved data source classes into new package
 *               com.jrefinery.data.* (DG);
 * 18-Oct-2001 : New factory method for creating VerticalXYBarChart (DG);
 * 19-Oct-2001 : Moved series paint and stroke methods to the Plot class (DG);
 *               Moved static chart creation methods to new ChartFactory
 *               class (DG);
 * 22-Oct-2001 : Renamed DataSource.java --> Dataset.java etc. (DG);
 *               Fixed bug where chart isn't registered with the dataset (DG);
 * 07-Nov-2001 : Fixed bug where null title in constructor causes
 *               exception (DG);
 *               Tidied up event notification code (DG);
 * 17-Nov-2001 : Added getLegendItemCount() method (DG);
 * 21-Nov-2001 : Set clipping in draw method to ensure that nothing gets drawn
 *               outside the chart area (DG);
 * 11-Dec-2001 : Added the createBufferedImage() method, taken from the
 *               JFreeChartServletDemo class (DG);
 * 13-Dec-2001 : Added tooltips (DG);
 * 16-Jan-2002 : Added handleClick() method (DG);
 * 22-Jan-2002 : Fixed bug correlating legend labels with pie data (DG);
 * 05-Feb-2002 : Removed redundant tooltips code (DG);
 * 19-Feb-2002 : Added accessor methods for the backgroundImage and
 *               backgroundImageAlpha attributes (DG);
 * 21-Feb-2002 : Added static fields for INFO, COPYRIGHT, LICENCE, CONTRIBUTORS
 *               and LIBRARIES.  These can be used to display information about
 *               JFreeChart (DG);
 * 06-Mar-2002 : Moved constants to JFreeChartConstants interface (DG);
 * 18-Apr-2002 : PieDataset is no longer sorted (oldman);
 * 23-Apr-2002 : Moved dataset to the Plot class (DG);
 * 13-Jun-2002 : Added an extra draw() method (DG);
 * 25-Jun-2002 : Implemented the Drawable interface and removed redundant
 *               imports (DG);
 * 26-Jun-2002 : Added another createBufferedImage() method (DG);
 * 18-Sep-2002 : Fixed issues reported by Checkstyle (DG);
 * 23-Sep-2002 : Added new contributor (DG);
 * 28-Oct-2002 : Created main title and subtitle list to replace existing title
 *               list (DG);
 * 08-Jan-2003 : Added contributor (DG);
 * 17-Jan-2003 : Added new constructor (DG);
 * 22-Jan-2003 : Added ChartColor class by Cameron Riley, and background image
 *               alignment code by Christian W. Zuckschwerdt (DG);
 * 11-Feb-2003 : Added flag to allow suppression of chart change events, based
 *               on a suggestion by Klaus Rheinwald (DG);
 * 04-Mar-2003 : Added small fix for suppressed chart change events (see bug id
 *               690865) (DG);
 * 10-Mar-2003 : Added Benoit Xhenseval to contributors (DG);
 * 26-Mar-2003 : Implemented Serializable (DG);
 * 15-Jul-2003 : Added an optional border for the chart (DG);
 * 11-Sep-2003 : Took care of listeners while cloning (NB);
 * 16-Sep-2003 : Changed ChartRenderingInfo --> PlotRenderingInfo (DG);
 * 22-Sep-2003 : Added nullpointer checks.
 * 25-Sep-2003 : Added nullpointer checks too (NB).
 * 03-Dec-2003 : Legends are now registered by this class instead of using the
 *               old constructor way (TM);
 * 03-Dec-2003 : Added anchorPoint to draw() method (DG);
 * 08-Jan-2004 : Reworked title code, introducing line wrapping (DG);
 * 09-Feb-2004 : Created additional createBufferedImage() method (DG);
 * 05-Apr-2004 : Added new createBufferedImage() method (DG);
 * 27-May-2004 : Moved constants from JFreeChartConstants.java back to this
 *               class (DG);
 * 25-Nov-2004 : Updates for changes to Title class (DG);
 * 06-Jan-2005 : Change lookup for default background color (DG);
 * 31-Jan-2005 : Added Don Elliott to contributors (DG);
 * 02-Feb-2005 : Added clearSubtitles() method (DG);
 * 03-Feb-2005 : Added Mofeed Shahin to contributors (DG);
 * 08-Feb-2005 : Updated for RectangleConstraint changes (DG);
 * 28-Mar-2005 : Renamed Legend --> OldLegend (DG);
 * 12-Apr-2005 : Added methods to access legend(s) in subtitle list (DG);
 * 13-Apr-2005 : Added removeLegend() and removeSubtitle() methods (DG);
 * 20-Apr-2005 : Modified to collect chart entities from titles and
 *               subtitles (DG);
 * 26-Apr-2005 : Removed LOGGER (DG);
 * 06-Jun-2005 : Added addLegend() method and padding attribute, fixed equals()
 *               method (DG);
 * 24-Nov-2005 : Removed OldLegend and related code - don't want to support
 *               this in 1.0.0 final (DG);
 * ------------- JFREECHART 1.0.x ---------------------------------------------
 * 27-Jan-2006 : Updated version number (DG);
 * 07-Dec-2006 : Added some missing credits (DG);
 * 17-Jan-2007 : Added Darren Jung to contributor list (DG);
 * 05-Mar-2007 : Added Sergei Ivanov to the contributor list (DG);
 * 16-Mar-2007 : Modified initial legend border (DG);
 * 22-Mar-2007 : New methods for text anti-aliasing (DG);
 * 16-May-2007 : Fixed argument check in getSubtitle(), copy list in
 *               get/setSubtitles(), and added new addSubtitle(int, Title)
 *               method (DG);
 * 05-Jun-2007 : Add change listener to default legend (DG);
 * 04-Dec-2007 : In createBufferedImage() methods, make the default image type
 *               BufferedImage.TYPE_INT_ARGB (thanks to Klaus Rheinwald) (DG);
 * 05-Dec-2007 : Fixed bug 1749124 (not registering as listener with
 *               TextTitle) (DG);
 * 23-Apr-2008 : Added new contributor (Diego Pierangeli) (DG);
 * 16-May-2008 : Added new contributor (Michael Siemer) (DG);
 * 19-Sep-2008 : Check for title visibility (DG);
 *
 */

package org.jfree.chart;

import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Font;
import java.awt.Graphics2D;
import java.awt.Image;
import java.awt.Paint;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.AffineTransform;
import java.awt.geom.Point2D;
import java.awt.geom.Rectangle2D;
import java.awt.image.BufferedImage;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.net.URL;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;

import javax.swing.ImageIcon;
import javax.swing.UIManager;
import javax.swing.event.EventListenerList;

import org.jfree.JCommon;
import org.jfree.chart.block.BlockParams;
import org.jfree.chart.block.EntityBlockResult;
import org.jfree.chart.block.LengthConstraintType;
import org.jfree.chart.block.LineBorder;
import org.jfree.chart.block.RectangleConstraint;
import org.jfree.chart.entity.EntityCollection;
import org.jfree.chart.event.ChartChangeEvent;
import org.jfree.chart.event.ChartChangeListener;
import org.jfree.chart.event.ChartProgressEvent;
import org.jfree.chart.event.ChartProgressListener;
import org.jfree.chart.event.PlotChangeEvent;
import org.jfree.chart.event.PlotChangeListener;
import org.jfree.chart.event.TitleChangeEvent;
import org.jfree.chart.event.TitleChangeListener;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.plot.Plot;
import org.jfree.chart.plot.PlotRenderingInfo;
import org.jfree.chart.plot.XYPlot;
import org.jfree.chart.title.LegendTitle;
import org.jfree.chart.title.TextTitle;
import org.jfree.chart.title.Title;
import org.jfree.data.Range;
import org.jfree.io.SerialUtilities;
import org.jfree.ui.Align;
import org.jfree.ui.Drawable;
import org.jfree.ui.HorizontalAlignment;
import org.jfree.ui.RectangleEdge;
import org.jfree.ui.RectangleInsets;
import org.jfree.ui.Size2D;
import org.jfree.ui.VerticalAlignment;
import org.jfree.ui.about.Contributor;
import org.jfree.ui.about.Licences;
import org.jfree.ui.about.ProjectInfo;
import org.jfree.util.ObjectUtilities;
import org.jfree.util.PaintUtilities;

/**
 * A chart class implemented using the Java 2D APIs.  The current version
 * supports bar charts, line charts, pie charts and xy plots (including time
 * series data).
 * <P>
 * JFreeChart coordinates several objects to achieve its aim of being able to
 * draw a chart on a Java 2D graphics device: a list of {@link Title} objects
 * (which often includes the chart's legend), a {@link Plot} and a
 * {@link org.jfree.data.general.Dataset} (the plot in turn manages a
 * domain axis and a range axis).
 * <P>
 * You should use a {@link ChartPanel} to display a chart in a GUI.
 * <P>
 * The {@link ChartFactory} class contains static methods for creating
 * 'ready-made' charts.
 *
 * @see ChartPanel
 * @see ChartFactory
 * @see Title
 * @see Plot
 */
public class JFreeChart implements Drawable,
                                   TitleChangeListener,
                                   PlotChangeListener,
                                   Serializable,
                                   Cloneable {

    /** For serialization. */
    private static final long serialVersionUID = -3470703747817429120L;

    /** Information about the project. */
    public static final ProjectInfo INFO = new JFreeChartInfo();

    /** The default font for titles. */
    public static final Font DEFAULT_TITLE_FONT
            = new Font("SansSerif", Font.BOLD, 18);

    /** The default background color. */
    public static final Paint DEFAULT_BACKGROUND_PAINT
            = UIManager.getColor("Panel.background");

    /** The default background image. */
    public static final Image DEFAULT_BACKGROUND_IMAGE = null;

    /** The default background image alignment. */
    public static final int DEFAULT_BACKGROUND_IMAGE_ALIGNMENT = Align.FIT;

    /** The default background image alpha. */
    public static final float DEFAULT_BACKGROUND_IMAGE_ALPHA = 0.5f;

    /**
     * Rendering hints that will be used for chart drawing.  This should never
     * be <code>null</code>.
     */
    private transient RenderingHints renderingHints;

    /** A flag that controls whether or not the chart border is drawn. */
    private boolean borderVisible;

    /** The stroke used to draw the chart border (if visible). */
    private transient Stroke borderStroke;

    /** The paint used to draw the chart border (if visible). */
    private transient Paint borderPaint;

    /** The padding between the chart border and the chart drawing area. */
    private RectangleInsets padding;

    /** The chart title (optional). */
    private TextTitle title;

    /**
     * The chart subtitles (zero, one or many).  This field should never be
     * <code>null</code>.
     */
    private List subtitles;

    /** Draws the visual representation of the data. */
    private Plot plot;

    /** Paint used to draw the background of the chart. */
    private transient Paint backgroundPaint;

    /** An optional background image for the chart. */
    private transient Image backgroundImage;  // todo: not serialized yet

    /** The alignment for the background image. */
    private int backgroundImageAlignment = Align.FIT;

    /** The alpha transparency for the background image. */
    private float backgroundImageAlpha = 0.5f;

    /** Storage for registered change listeners. */
    private transient EventListenerList changeListeners;

    /** Storage for registered progress listeners. */
    private transient EventListenerList progressListeners;

    /**
     * A flag that can be used to enable/disable notification of chart change
     * events.
     */
    private boolean notify;

    /**
     * Creates a new chart based on the supplied plot.  The chart will have
     * a legend added automatically, but no title (although you can easily add
     * one later).
     * <br><br>
     * Note that the  {@link ChartFactory} class contains a range
     * of static methods that will return ready-made charts, and often this
     * is a more convenient way to create charts than using this constructor.
     *
     * @param plot  the plot (<code>null</code> not permitted).
     */
    public JFreeChart(Plot plot) {
        this(null, null, plot, true);
    }

    /**
     * Creates a new chart with the given title and plot.  A default font
     * ({@link #DEFAULT_TITLE_FONT}) is used for the title, and the chart will
     * have a legend added automatically.
     * <br><br>
     * Note that the {@link ChartFactory} class contains a range
     * of static methods that will return ready-made charts, and often this
     * is a more convenient way to create charts than using this constructor.
     *
     * @param title  the chart title (<code>null</code> permitted).
     * @param plot  the plot (<code>null</code> not permitted).
     */
    public JFreeChart(String title, Plot plot) {
        this(title, JFreeChart.DEFAULT_TITLE_FONT, plot, true);
    }

    /**
     * Creates a new chart with the given title and plot.  The
     * <code>createLegend</code> argument specifies whether or not a legend
     * should be added to the chart.
     * <br><br>
     * Note that the  {@link ChartFactory} class contains a range
     * of static methods that will return ready-made charts, and often this
     * is a more convenient way to create charts than using this constructor.
     *
     * @param title  the chart title (<code>null</code> permitted).
     * @param titleFont  the font for displaying the chart title

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美性xxxxxx少妇| 99久久久国产精品免费蜜臀| 天堂资源在线中文精品| 亚洲人成小说网站色在线| 一区二区三区欧美| 久久电影网站中文字幕| 91在线观看视频| 精品理论电影在线| 亚洲免费三区一区二区| 一本久道久久综合中文字幕 | 免费观看在线色综合| thepron国产精品| 欧美电影免费观看完整版| 一区二区三区在线影院| 欧美私模裸体表演在线观看| 午夜日韩在线观看| 久久综合视频网| 日韩中文字幕av电影| 欧美电影免费观看高清完整版 | 欧美激情在线一区二区| 天堂va蜜桃一区二区三区 | 国产精品久久综合| 婷婷久久综合九色综合绿巨人| 欧美高清视频一二三区| 一区二区三区欧美亚洲| 在线不卡一区二区| 国模大尺度一区二区三区| 欧美欧美午夜aⅴ在线观看| 亚洲免费在线视频| 日韩久久精品一区| 成人ar影院免费观看视频| 久久久99精品免费观看| 国内外成人在线| 亚洲丝袜制服诱惑| 91免费视频观看| 日本成人在线电影网| 欧美一区二区三级| 日本视频在线一区| 国产精品盗摄一区二区三区| 欧美一区二区在线视频| 91偷拍与自偷拍精品| 免费人成在线不卡| 亚洲精品中文字幕在线观看| 色综合av在线| 国产美女一区二区| 国产精品你懂的在线欣赏| 成人精品高清在线| 日本v片在线高清不卡在线观看| 奇米精品一区二区三区在线观看一| 中文字幕av在线一区二区三区| 欧美精品乱码久久久久久| 高清视频一区二区| 国产精品日产欧美久久久久| 欧美巨大另类极品videosbest| 99久久免费精品| 国产一区二区三区久久悠悠色av| 亚洲国产日韩在线一区模特| 欧美日韩美少妇| 91在线看国产| 不卡一区二区在线| 久久成人免费电影| 午夜天堂影视香蕉久久| 亚洲人成精品久久久久| 国产日产精品1区| 欧美艳星brazzers| 色综合久久综合网欧美综合网| 国产精品一区二区无线| 亚洲女子a中天字幕| 欧美激情一区二区三区全黄| 精品国产乱子伦一区| av影院午夜一区| 国产风韵犹存在线视精品| 一区二区三区在线影院| 自拍视频在线观看一区二区| 亚洲国产成人在线| 久久久精品中文字幕麻豆发布| 一本大道av一区二区在线播放| 成人a区在线观看| 国产成人在线视频免费播放| 国产精品一区二区不卡| 国产麻豆精品theporn| 黄色日韩三级电影| 九一久久久久久| 亚洲大片在线观看| 日本一区二区成人在线| 国产午夜亚洲精品不卡| 国产欧美精品在线观看| 国产片一区二区| 中文字幕日韩欧美一区二区三区| 91精品国产一区二区三区蜜臀 | 国产视频一区二区在线观看| 久久久久久久久久久久久夜| 国产亚洲精品免费| 亚洲欧洲一区二区三区| 国产精品久久久久久久久搜平片| 中文字幕中文在线不卡住| 亚洲天堂av老司机| 亚洲影视在线播放| 成人欧美一区二区三区| 亚洲精品免费一二三区| 亚洲va国产天堂va久久en| 日韩va欧美va亚洲va久久| 老司机一区二区| 国产经典欧美精品| 91视频.com| 欧美精品成人一区二区三区四区| 欧美一级日韩免费不卡| 久久女同性恋中文字幕| 国产真实乱子伦精品视频| 国产精品亚洲成人| 91色视频在线| 欧美一区二区性放荡片| 国产精品系列在线| 亚洲国产日韩在线一区模特| 久久成人免费电影| 91在线观看成人| 欧美日韩一级黄| 欧美亚洲国产一区在线观看网站| 91精品国产综合久久福利| 国产亚洲女人久久久久毛片| 亚洲美女淫视频| 久久99精品国产麻豆婷婷| eeuss鲁片一区二区三区| 这里只有精品电影| 欧美裸体bbwbbwbbw| 久久综合久久鬼色中文字| 一区二区三区美女视频| 开心九九激情九九欧美日韩精美视频电影 | 91热门视频在线观看| 欧美一区二区视频免费观看| 国产精品久久网站| 老司机午夜精品99久久| zzijzzij亚洲日本少妇熟睡| 日韩一区二区三区免费看 | 欧美日韩一区二区三区四区五区| 2023国产精品自拍| 亚洲综合在线电影| 国产高清无密码一区二区三区| 欧美日韩国产免费一区二区 | 欧美一区二区三区在线看| 日韩一区中文字幕| 激情五月激情综合网| 欧美日韩一区在线观看| 国产精品欧美久久久久无广告| 蜜桃av一区二区三区电影| 精品一区二区三区视频| 欧美性大战xxxxx久久久| 国产精品国产自产拍在线| 极品少妇一区二区| 欧美剧在线免费观看网站| 亚洲品质自拍视频| 成人v精品蜜桃久久一区| 精品成人在线观看| 日韩1区2区3区| 欧美日韩一区三区| 一区二区三区影院| av电影天堂一区二区在线观看| 久久久亚洲午夜电影| 美女脱光内衣内裤视频久久网站| 欧美日韩亚洲综合一区二区三区| 一区免费观看视频| 99久久国产综合精品女不卡| 国产亚洲成aⅴ人片在线观看| 精品制服美女久久| 欧美xxx久久| 精品一区二区三区视频| 欧美一区二区三区免费视频| 日韩精品成人一区二区三区| 欧美日韩精品福利| 亚洲国产va精品久久久不卡综合 | 日本电影亚洲天堂一区| 欧美一卡二卡三卡| 日日摸夜夜添夜夜添亚洲女人| 欧美日韩国产小视频| 首页国产欧美日韩丝袜| 欧美日韩亚洲综合| 日韩中文字幕av电影| 日韩视频免费观看高清完整版| 青青国产91久久久久久| 日韩视频免费观看高清完整版在线观看 | 天堂成人国产精品一区| 欧美一区二区三区四区在线观看 | 日韩色视频在线观看| 美女网站视频久久| 精品成人在线观看| 福利一区二区在线| 综合久久给合久久狠狠狠97色| 在线视频一区二区三区| 久久久久97国产精华液好用吗| 国产不卡视频一区二区三区| 中文字幕一区二区三区四区| 91免费精品国自产拍在线不卡| 亚洲影视在线观看| 欧美女孩性生活视频| 久久99精品久久久久久久久久久久 | 91精品一区二区三区在线观看| 蜜桃视频一区二区三区在线观看 | 国产精品欧美久久久久一区二区| 色偷偷88欧美精品久久久| 偷拍一区二区三区四区|