类 Plot2D

    • 构造器详细资料

      • Plot2D

        public Plot2D()
    • 方法详细资料

      • setGraphics

        public void setGraphics​(GraphicCollection value)
        Set graphics
        参数:
        value - Graphics
      • getBarsWidth

        public float getBarsWidth()
        Get bars width (0 - 1), only used for automatic bar width.
        返回:
        Bars width
      • setBarsWidth

        public void setBarsWidth​(float value)
        Set bars width (0 - 1), only used for automatic bar width.
        参数:
        value - Bars width
      • addGraphic

        public void addGraphic​(Graphic g)
        Add a graphic
        参数:
        g - Grahic
      • addGraphic

        public void addGraphic​(int idx,
                               Graphic g)
        Add a graphic by index
        参数:
        idx - Index
        g - Graphic
      • removeGraphic

        public void removeGraphic​(Graphic g)
        Remove a graphic
        参数:
        g - Graphic
      • removeGraphic

        public void removeGraphic​(int idx)
        Remove a graphic by index
        参数:
        idx - Index
      • removeLastGraphic

        public void removeLastGraphic()
        Remove last graphic
      • addGraphics

        public void addGraphics​(java.util.List<Graphic> gs)
        Add graphic list
        参数:
        gs - Graphic list
      • getGraphicRectangle

        public java.awt.Rectangle getGraphicRectangle​(java.awt.Graphics2D g,
                                                      Graphic aGraphic,
                                                      java.awt.geom.Rectangle2D area)
        Get graphic rectangle
        参数:
        g - The graphics
        aGraphic - The graphic
        area - Area
        返回:
        Rectangle
      • getDataset

        public Dataset getDataset()
        从类复制的说明: Plot
        Get dataset
        指定者:
        getDataset 在类中 Plot
        返回:
        Dataset
      • setDataset

        public void setDataset​(Dataset dataset)
        从类复制的说明: Plot
        Set dataset
        指定者:
        setDataset 在类中 Plot
        参数:
        dataset - Dataset
      • getLegendScheme

        public LegendScheme getLegendScheme()
        Get legend scheme
        返回:
        Legend scheme