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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? xyplot.java

?? Web圖形化的Java庫
?? JAVA
?? 第 1 頁 / 共 5 頁
字號:
/* ======================================
 * JFreeChart : a free Java chart library
 * ======================================
 *
 * Project Info:  http://www.jfree.org/jfreechart/index.html
 * Project Lead:  David Gilbert (david.gilbert@object-refinery.com);
 *
 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
 *
 * 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., 59 Temple Place, Suite 330,
 * Boston, MA 02111-1307, USA.
 *
 * -----------
 * XYPlot.java
 * -----------
 * (C) Copyright 2000-2003, by Object Refinery Limited and Contributors.
 *
 * Original Author:  David Gilbert (for Object Refinery Limited);
 * Contributor(s):   Craig MacFarlane;
 *                   Mark Watson (www.markwatson.com);
 *                   Jonathan Nash;
 *                   Gideon Krause;
 *                   Klaus Rheinwald;
 *                   Xavier Poinsard;
 *                   Richard Atkinson;
 *                   Arnaud Lelievre;
 *                   Nicolas Brodu;
 *
 * $Id: XYPlot.java,v 1.34 2003/09/09 10:23:13 mungady Exp $
 *
 * Changes (from 21-Jun-2001)
 * --------------------------
 * 21-Jun-2001 : Removed redundant JFreeChart parameter from constructors (DG);
 * 18-Sep-2001 : Updated header and fixed DOS encoding problem (DG);
 * 15-Oct-2001 : Data source classes moved to com.jrefinery.data.* (DG);
 * 19-Oct-2001 : Removed the code for drawing the visual representation of each data point into
 *               a separate class StandardXYItemRenderer.  This will make it easier to add
 *               variations to the way the charts are drawn.  Based on code contributed by
 *               Mark Watson (DG);
 * 22-Oct-2001 : Renamed DataSource.java --> Dataset.java etc. (DG);
 * 20-Nov-2001 : Fixed clipping bug that shows up when chart is displayed inside JScrollPane (DG);
 * 12-Dec-2001 : Removed unnecessary 'throws' clauses from constructor (DG);
 * 13-Dec-2001 : Added skeleton code for tooltips.  Added new constructor. (DG);
 * 16-Jan-2002 : Renamed the tooltips class (DG);
 * 22-Jan-2002 : Added DrawInfo class, incorporating tooltips and crosshairs.  Crosshairs based
 *               on code by Jonathan Nash (DG);
 * 05-Feb-2002 : Added alpha-transparency setting based on code by Sylvain Vieujot (DG);
 * 26-Feb-2002 : Updated getMinimumXXX() and getMaximumXXX() methods to handle special case when
 *               chart is null (DG);
 * 28-Feb-2002 : Renamed Datasets.java --> DatasetUtilities.java (DG);
 * 28-Mar-2002 : The plot now registers with the renderer as a property change listener.  Also
 *               added a new constructor (DG);
 * 09-Apr-2002 : Removed the transRangeZero from the renderer.drawItem(...) method.  Moved the
 *               tooltip generator into the renderer (DG);
 * 23-Apr-2002 : Fixed bug in methods for drawing horizontal and vertical lines (DG);
 * 13-May-2002 : Small change to the draw(...) method so that it works for OverlaidXYPlot also (DG);
 * 25-Jun-2002 : Removed redundant import (DG);
 * 20-Aug-2002 : Renamed getItemRenderer() --> getRenderer(), and
 *               setXYItemRenderer() --> setRenderer() (DG);
 * 28-Aug-2002 : Added mechanism for (optional) plot annotations (DG);
 * 02-Oct-2002 : Fixed errors reported by Checkstyle (DG);
 * 18-Nov-2002 : Added grid settings for both domain and range axis (previously these were set in
 *               the axes) (DG);
 * 09-Jan-2003 : Further additions to the grid settings, plus integrated plot border bug fix
 *               contributed by Gideon Krause (DG);
 * 22-Jan-2003 : Removed monolithic constructor (DG);
 * 04-Mar-2003 : Added 'no data' message, see bug report 691634.  Added secondary range markers
 *               using code contributed by Klaus Rheinwald (DG);
 * 26-Mar-2003 : Implemented Serializable (DG);
 * 03-Apr-2003 : Added setDomainAxisLocation(...) method (DG);
 * 30-Apr-2003 : Moved annotation drawing into a separate method (DG);
 * 01-May-2003 : Added multi-pass mechanism for renderers (DG);
 * 02-May-2003 : Changed axis locations from int to AxisLocation (DG);
 * 15-May-2003 : Added an orientation attribute (DG);
 * 02-Jun-2003 : Removed range axis compatibility test (DG);
 * 05-Jun-2003 : Added domain and range grid bands (sponsored by Focus Computer Services Ltd) (DG);
 * 26-Jun-2003 : Fixed bug (757303) in getDataRange(...) method (DG);
 * 02-Jul-2003 : Added patch from bug report 698646 (secondary axes for overlaid plots) (DG);
 * 23-Jul-2003 : Added support for multiple secondary datasets, axes and renderers (DG);
 * 27-Jul-2003 : Added support for stacked XY area charts (RA);
 * 19-Aug-2003 : Implemented Cloneable (DG);
 * 01-Sep-2003 : Fixed bug where change to secondary datasets didn't generate change 
 * 08-Sep-2003 : Added internationalization via use of properties resourceBundle (RFE 690236) (AL); 
 *               event (797466) (DG)
 * 08-Sep-2003 : Changed ValueAxis API (DG);
 * 08-Sep-2003 : Fixes for serialization (NB);
 *
 */

package org.jfree.chart.plot;

import java.awt.AlphaComposite;
import java.awt.BasicStroke;
import java.awt.Color;
import java.awt.Composite;
import java.awt.Graphics2D;
import java.awt.Insets;
import java.awt.Paint;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.Line2D;
import java.awt.geom.Rectangle2D;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.io.IOException;
import java.io.ObjectInputStream;
import java.io.ObjectOutputStream;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import java.util.ResourceBundle;

import org.jfree.chart.ChartRenderingInfo;
import org.jfree.chart.CrosshairInfo;
import org.jfree.chart.LegendItem;
import org.jfree.chart.LegendItemCollection;
import org.jfree.chart.Marker;
import org.jfree.chart.Spacer;
import org.jfree.chart.annotations.XYAnnotation;
import org.jfree.chart.axis.Axis;
import org.jfree.chart.axis.AxisLocation;
import org.jfree.chart.axis.AxisSpace;
import org.jfree.chart.axis.Tick;
import org.jfree.chart.axis.ValueAxis;
import org.jfree.chart.event.PlotChangeEvent;
import org.jfree.chart.renderer.RangeType;
import org.jfree.chart.renderer.XYItemRenderer;
import org.jfree.data.DatasetChangeEvent;
import org.jfree.data.DatasetUtilities;
import org.jfree.data.Range;
import org.jfree.data.TableXYDataset;
import org.jfree.data.XYDataset;
import org.jfree.io.SerialUtilities;
import org.jfree.ui.RectangleEdge;
import org.jfree.util.ObjectList;
import org.jfree.util.ObjectUtils;

/**
 * A general class for plotting data in the form of (x, y) pairs.  This plot can
 * use data from any class that implements the {@link XYDataset} interface.
 * <P>
 * <code>XYPlot</code> makes use of an {@link XYItemRenderer} to draw each point on the plot.
 * By using different renderers, various chart types can be produced.
 * <p>
 * The {@link org.jfree.chart.ChartFactory} class contains static methods for creating
 * pre-configured charts.
 *
 * @author David Gilbert
 */
public class XYPlot extends Plot implements ValueAxisPlot,
                                            PropertyChangeListener,
                                            Cloneable,
                                            Serializable {

    /** The default grid line stroke. */
    public static final Stroke DEFAULT_GRIDLINE_STROKE = new BasicStroke(0.5f,
        BasicStroke.CAP_BUTT,
        BasicStroke.JOIN_BEVEL,
        0.0f,
        new float[] {2.0f, 2.0f},
        0.0f);

    /** The default grid line paint. */
    public static final Paint DEFAULT_GRIDLINE_PAINT = Color.lightGray;

    /** The default crosshair visibility. */
    public static final boolean DEFAULT_CROSSHAIR_VISIBLE = false;

    /** The default crosshair stroke. */
    public static final Stroke DEFAULT_CROSSHAIR_STROKE = DEFAULT_GRIDLINE_STROKE;

    /** The default crosshair paint. */
    public static final Paint DEFAULT_CROSSHAIR_PAINT = Color.blue;

    /** The plot orientation. */
    private PlotOrientation orientation;

    /** The offset between the data area and the axes. */
    private Spacer axisOffset;

    /** The domain axis (used for the x-values). */
    private ValueAxis domainAxis;

    /** The domain axis location. */
    private AxisLocation domainAxisLocation;

    /** Storage for the (optional) secondary domain axes. */
    private ObjectList secondaryDomainAxes;

    /** Storage for the (optional) secondary domain axis locations. */
    private ObjectList secondaryDomainAxisLocations;

    /** The range axis (used for the y-values). */
    private ValueAxis rangeAxis;

    /** The range axis location. */
    private AxisLocation rangeAxisLocation;

    /** Storage for the (optional) secondary range axes. */
    private ObjectList secondaryRangeAxes;

    /** Storage for the (optional) secondary range axis locations. */
    private ObjectList secondaryRangeAxisLocations;

    /** The dataset. */
    private XYDataset dataset;

    /** Storage for the (optional) secondary datasets. */
    private ObjectList secondaryDatasets;

    /** Storage for keys that map secondary datasets to domain axes. */
    private ObjectList secondaryDatasetDomainAxisMap;

    /** Storage for keys that map secondary datasets to range axes. */
    private ObjectList secondaryDatasetRangeAxisMap;

    /** Object responsible for drawing the visual representation of each point on the plot. */
    private XYItemRenderer renderer;

    /** Storage for the (optional) secondary renderers. */
    private ObjectList secondaryRenderers;

    /** A flag that controls whether the domain grid-lines are visible. */
    private boolean domainGridlinesVisible;

    /** The stroke used to draw the domain grid-lines. */
    private transient Stroke domainGridlineStroke;

    /** The paint used to draw the domain grid-lines. */
    private transient Paint domainGridlinePaint;

    /** A flag that controls whether the range grid-lines are visible. */
    private boolean rangeGridlinesVisible;

    /** The stroke used to draw the range grid-lines. */
    private transient Stroke rangeGridlineStroke;

    /** The paint used to draw the range grid-lines. */
    private transient Paint rangeGridlinePaint;

    /** A flag that controls whether or not a domain crosshair is drawn..*/
    private boolean domainCrosshairVisible;

    /** The domain crosshair value. */
    private double domainCrosshairValue;

    /** The pen/brush used to draw the crosshair (if any). */
    private transient Stroke domainCrosshairStroke;

    /** The color used to draw the crosshair (if any). */
    private transient Paint domainCrosshairPaint;

    /** A flag that controls whether or not the crosshair locks onto actual data points. */
    private boolean domainCrosshairLockedOnData = true;

    /** A flag that controls whether or not a range crosshair is drawn..*/
    private boolean rangeCrosshairVisible;

    /** The range crosshair value. */
    private double rangeCrosshairValue;

    /** The pen/brush used to draw the crosshair (if any). */
    private transient Stroke rangeCrosshairStroke;

    /** The color used to draw the crosshair (if any). */
    private transient Paint rangeCrosshairPaint;

    /** A flag that controls whether or not the crosshair locks onto actual data points. */
    private boolean rangeCrosshairLockedOnData = true;

    /** A list of markers (optional) for the domain axis. */
    private List domainMarkers;

    /** A list of secondary markers (optional) for the secondary domain axis. */
    private List secondaryDomainMarkers;

    /** A list of markers (optional) for the range axis. */
    private List rangeMarkers;

    /** A list of secondary markers (optional) for the secondary range axis. */
    private List secondaryRangeMarkers;

    /** A list of annotations (optional) for the plot. */
    private List annotations;

    /** The paint used for the domain tick bands (if any). */
    private transient Paint domainTickBandPaint;

    /** The paint used for the range tick bands (if any). */
    private transient Paint rangeTickBandPaint;

    /** The fixed domain axis space. */
    private AxisSpace fixedDomainAxisSpace;

    /** The fixed range axis space. */
    private AxisSpace fixedRangeAxisSpace;

    /** The weight for this plot (only relevant if this is a subplot in a combined plot). */
    private int weight;

    /** The anchor value. */
    private double anchorX;

    /** The anchor value. */
    private double anchorY;

    /** Temporary storage. */
    private transient List axesAtTop;

    /** Temporary storage. */
    private transient List axesAtBottom;

    /** Temporary storage. */
    private transient List axesAtLeft;

    /** The resourceBundle for the localization. */
    static protected ResourceBundle localizationResources = 
                            ResourceBundle.getBundle("org.jfree.chart.plot.LocalizationBundle");

    /** Temporary storage. */
    private transient List axesAtRight;

    /**
     * Default constructor.
     */
    public XYPlot() {
        this(null, null, null, null);
    }

    /**
     * Creates a new plot.
     *
     * @param dataset  the dataset (<code>null</code> permitted).
     * @param domainAxis  the domain axis (<code>null</code> permitted).
     * @param rangeAxis  the range axis (<code>null</code> permitted).
     * @param renderer  the renderer (<code>null</code> permitted).
     */
    public XYPlot(XYDataset dataset,
                  ValueAxis domainAxis,
                  ValueAxis rangeAxis,
                  XYItemRenderer renderer) {

        super();

        this.orientation = PlotOrientation.VERTICAL;
        this.weight = 1;  // only relevant when this is a subplot
        this.axisOffset = new Spacer(Spacer.ABSOLUTE, 0.0, 0.0, 0.0, 0.0);

        // allocate storage for secondary datasets, axes and renderers (all optional)
        this.secondaryDomainAxes = new ObjectList();
        this.secondaryDomainAxisLocations = new ObjectList();

        this.secondaryRangeAxes = new ObjectList();
        this.secondaryRangeAxisLocations = new ObjectList();

        this.secondaryDatasets = new ObjectList();
        this.secondaryDatasetDomainAxisMap = new ObjectList();
        this.secondaryDatasetRangeAxisMap = new ObjectList();

        this.secondaryRenderers = new ObjectList();

        this.dataset = dataset;
        if (dataset != null) {
            dataset.addChangeListener(this);
        }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲第一狼人社区| 色哟哟国产精品免费观看| 成人激情动漫在线观看| 欧美喷潮久久久xxxxx| 国产精品色一区二区三区| 美女视频黄免费的久久 | 中文字幕欧美日本乱码一线二线| 亚洲欧美一区二区三区极速播放| 人人爽香蕉精品| 色偷偷久久一区二区三区| 精品久久久久99| 午夜视频在线观看一区二区三区| 大尺度一区二区| 欧美一级片在线看| 亚洲一区二区三区中文字幕| 国产精品99久久久久久有的能看| 欧美日韩国产美女| 亚洲欧美二区三区| 成人av网站免费观看| 2欧美一区二区三区在线观看视频 337p粉嫩大胆噜噜噜噜噜91av | 日韩免费成人网| 亚洲国产人成综合网站| 成人av网站在线| 国产三级精品在线| 国内精品视频一区二区三区八戒| 69堂国产成人免费视频| 亚洲国产日韩a在线播放性色| 国产91富婆露脸刺激对白| 精品国产乱码久久久久久浪潮| 五月激情六月综合| 欧美精品久久久久久久久老牛影院| 亚洲精品国产精品乱码不99| av日韩在线网站| 亚洲婷婷在线视频| 色综合一区二区三区| 亚洲欧美中日韩| 97精品电影院| 亚洲精品第一国产综合野| 91国偷自产一区二区使用方法| 亚洲欧美日韩在线| 欧美影视一区二区三区| 亚洲综合男人的天堂| 在线视频中文字幕一区二区| 亚洲狠狠爱一区二区三区| 在线观看亚洲专区| 日韩av午夜在线观看| 欧美一级久久久| 韩国三级中文字幕hd久久精品| 亚洲女爱视频在线| 欧美在线观看视频一区二区| 亚洲影视在线观看| 日韩一区二区三区四区| 国产精品综合二区| 国产精品成人免费精品自在线观看| 不卡高清视频专区| 亚洲第一会所有码转帖| 欧美一激情一区二区三区| 久草精品在线观看| 国产精品久久久久影院| 欧美三级韩国三级日本一级| 毛片不卡一区二区| 国产精品成人一区二区艾草| 欧美性生活久久| 美女在线视频一区| 欧美激情一二三区| 欧美三级一区二区| 国产剧情一区二区| 亚洲美女电影在线| 精品国产污污免费网站入口 | 亚洲国产精品成人综合 | 成人午夜又粗又硬又大| 亚洲综合色丁香婷婷六月图片| 日韩精品综合一本久道在线视频| 国产精品自拍网站| 亚洲国产综合人成综合网站| 2019国产精品| 欧美三级欧美一级| 成人午夜在线免费| 麻豆精品国产传媒mv男同| 亚洲欧美自拍偷拍色图| 亚洲一区二区三区四区的| 久久久久国产一区二区三区四区 | 欧美日韩亚洲综合| 国产91精品精华液一区二区三区| 亚洲一区二区三区四区五区中文| 久久久精品人体av艺术| 欧美亚洲国产一卡| 高清国产一区二区| 日本伊人午夜精品| 亚洲欧美一区二区三区极速播放 | 一区二区三区视频在线观看| 久久这里只有精品6| 在线视频你懂得一区| 国产成人免费视频一区| 婷婷综合在线观看| **欧美大码日韩| 久久久久久久久久看片| 欧美精品vⅰdeose4hd| 色噜噜狠狠成人中文综合| 国产一区二区看久久| 蜜臀久久99精品久久久画质超高清 | 亚洲猫色日本管| 久久久www免费人成精品| 欧美美女黄视频| 欧美性感一区二区三区| 91日韩精品一区| 成人免费毛片a| 国产一区二区三区av电影| 免费一区二区视频| 石原莉奈一区二区三区在线观看| 亚洲男人的天堂一区二区| 日本一区二区三区在线不卡| 久久久久久久久免费| 精品久久久久久久久久久久久久久久久| 欧美日韩精品欧美日韩精品一 | 成人欧美一区二区三区视频网页| 欧美精品一区二区不卡| 欧美精品一区二区三区一线天视频| 欧美一激情一区二区三区| 91精品国产黑色紧身裤美女| 91麻豆精品国产91久久久| 欧美巨大另类极品videosbest | 国产精品久久久99| 日本一区二区三区dvd视频在线| 欧美激情中文不卡| 亚洲三级在线免费| 伊人一区二区三区| 亚洲国产精品久久人人爱蜜臀| 亚洲图片自拍偷拍| 日韩av中文字幕一区二区三区| 欧美bbbbb| 国产精品一色哟哟哟| 成人免费视频一区| 一本大道久久a久久精品综合| 欧美午夜一区二区| 欧美一级片免费看| 中文字幕成人在线观看| 一区二区免费在线| 麻豆成人久久精品二区三区小说| 国产精品一区二区在线看| bt7086福利一区国产| 欧美猛男男办公室激情| 精品国产sm最大网站| 国产精品日产欧美久久久久| 伊人开心综合网| 久久国产精品99精品国产| 风间由美一区二区三区在线观看 | 欧美中文字幕不卡| 91黄色激情网站| 欧美变态tickle挠乳网站| 亚洲特黄一级片| 午夜亚洲国产au精品一区二区| 亚洲婷婷国产精品电影人久久| 亚洲一卡二卡三卡四卡五卡| 天堂久久久久va久久久久| 日本不卡一区二区| 国模无码大尺度一区二区三区| 国内精品写真在线观看| 风间由美一区二区三区在线观看| 99视频超级精品| 91精品在线麻豆| 精品免费日韩av| 亚洲一线二线三线久久久| 免费在线观看日韩欧美| 国产成人av电影在线| 一本一道波多野结衣一区二区| 日韩欧美成人午夜| 久久综合九色综合欧美亚洲| 国产精品久久久久三级| 亚洲无人区一区| 国产精品1区2区| 91小视频免费观看| 91精品国产欧美日韩| 中文字幕一区二区三| 午夜精品福利在线| 色哟哟一区二区三区| 日韩欧美激情在线| 日韩毛片高清在线播放| 日本美女视频一区二区| 91亚洲精品乱码久久久久久蜜桃| 欧美一级艳片视频免费观看| 18欧美亚洲精品| 久久99国产精品久久| 777奇米成人网| 国产精品免费久久久久| 日本中文字幕一区二区视频| 成人app网站| 欧美激情一区二区在线| av一区二区不卡| 日韩一区二区在线观看视频 | 男女男精品视频| 99热精品国产| 国产欧美一区视频| 免费在线视频一区| 在线精品国精品国产尤物884a| 精品久久久久一区二区国产| 一区二区高清在线| av毛片久久久久**hd| 国产欧美一区二区三区在线老狼| 国产一区91精品张津瑜|