类 Plot

    • 字段详细资料

      • DEFAULT_OUTLINE_STROKE

        public static final java.awt.Stroke DEFAULT_OUTLINE_STROKE
        The default outline stroke.
      • DEFAULT_OUTLINE_PAINT

        public static final java.awt.Paint DEFAULT_OUTLINE_PAINT
        The default outline color.
      • DEFAULT_FOREGROUND_ALPHA

        public static final float DEFAULT_FOREGROUND_ALPHA
        The default foreground alpha transparency.
        另请参阅:
        常量字段值
      • DEFAULT_BACKGROUND_ALPHA

        public static final float DEFAULT_BACKGROUND_ALPHA
        The default background alpha transparency.
        另请参阅:
        常量字段值
      • DEFAULT_BACKGROUND_PAINT

        public static final java.awt.Paint DEFAULT_BACKGROUND_PAINT
        The default background color.
      • MINIMUM_WIDTH_TO_DRAW

        public static final int MINIMUM_WIDTH_TO_DRAW
        The minimum width at which the plot should be drawn.
        另请参阅:
        常量字段值
      • MINIMUM_HEIGHT_TO_DRAW

        public static final int MINIMUM_HEIGHT_TO_DRAW
        The minimum height at which the plot should be drawn.
        另请参阅:
        常量字段值
      • DEFAULT_LEGEND_ITEM_BOX

        public static final java.awt.Shape DEFAULT_LEGEND_ITEM_BOX
        A default box shape for legend items.
      • DEFAULT_LEGEND_ITEM_CIRCLE

        public static final java.awt.Shape DEFAULT_LEGEND_ITEM_CIRCLE
        A default circle shape for legend items.
      • position

        protected java.awt.geom.Rectangle2D position
      • outerPosition

        protected java.awt.geom.Rectangle2D outerPosition
      • isSubPlot

        public boolean isSubPlot
        If is sub plot.
      • columnIndex

        public int columnIndex
        Column index as a sub plot.
      • rowIndex

        public int rowIndex
        Row index as a sub plot.
      • symbolAntialias

        protected boolean symbolAntialias
    • 构造器详细资料

      • Plot

        public Plot()
    • 方法详细资料

      • getUnits

        public AxesUnits getUnits()
        Get units
        返回:
        Units
      • setUnits

        public void setUnits​(AxesUnits value)
        Set units
        参数:
        value - Units
      • setUnits

        public void setUnits​(java.lang.String value)
        Set units
        参数:
        value - Units
      • isOuterPosActive

        public boolean isOuterPosActive()
        Get if Outer position active
        返回:
        Boolean
      • setOuterPosActive

        public void setOuterPosActive​(boolean value)
        Set outer position active or not
        参数:
        value - Boolean
      • isSameShrink

        public boolean isSameShrink()
        Get if same shrink
        返回:
        Boolean
      • setSameShrink

        public void setSameShrink​(boolean value)
        Set if same shrink
        参数:
        value - Boolean
      • getPosition

        public java.awt.geom.Rectangle2D getPosition()
        Get position
        返回:
        Position
      • setPosition

        public void setPosition​(java.awt.geom.Rectangle2D value)
        Set position
        参数:
        value - Position
      • setPosition

        public void setPosition​(double xmin,
                                double ymin,
                                double width,
                                double height)
        Set position
        参数:
        xmin - Minimum x
        ymin - Minimum y
        width - Width
        height - Height
      • setPosition

        public void setPosition​(java.util.List<java.lang.Number> pos)
        Set position
        参数:
        pos - Position list
      • updatePosition

        public void updatePosition​(java.awt.geom.Rectangle2D figureArea,
                                   java.awt.geom.Rectangle2D outerArea)
        Update position
        参数:
        figureArea - Figure area
        outerArea - Outer position area
      • updatePosition

        public void updatePosition​(java.awt.geom.Rectangle2D figureArea)
        Update position
        参数:
        figureArea - Figure areaa
      • getTightInset

        public Margin getTightInset()
        Get tight inset
        返回:
        Tight inset
      • setTightInset

        public void setTightInset​(Margin value)
        Set tight inset
        参数:
        value - Tight inset
      • getOuterPosition

        public java.awt.geom.Rectangle2D getOuterPosition()
        Get outer position
        返回:
        Outer position
      • setOuterPosition

        public void setOuterPosition​(java.awt.geom.Rectangle2D value)
        Set outer postion
        参数:
        value - Outer position
      • setOuterPosition

        public void setOuterPosition​(double xmin,
                                     double ymin,
                                     double width,
                                     double height)
        Set outer position
        参数:
        xmin - Minimum x
        ymin - Minimum y
        width - Width
        height - Height
      • setOuterPosition

        public void setOuterPosition​(java.util.List<java.lang.Number> pos)
        Set outer position
        参数:
        pos - Outer position list
      • getOuterPositionArea

        public java.awt.geom.Rectangle2D getOuterPositionArea()
        Get outer position area
        返回:
        Outer positoin area
      • getOuterPositionArea

        public abstract java.awt.geom.Rectangle2D getOuterPositionArea​(java.awt.geom.Rectangle2D area)
        Get outer position area
        参数:
        area - Whole area
        返回:
        Outer position area
      • setOuterPositionArea

        public void setOuterPositionArea​(java.awt.geom.Rectangle2D value)
        Set outer position area
        参数:
        value - Outer position area
      • getDataset

        public abstract Dataset getDataset()
        Get dataset
        返回:
        Dataset
      • setDataset

        public abstract void setDataset​(Dataset dataset)
        Set dataset
        参数:
        dataset - Dataset
      • getPlotType

        public abstract PlotType getPlotType()
        Get plot type
        返回:
        Plot type
      • isSymbolAntialias

        public boolean isSymbolAntialias()
        Get symbol antialias
        返回:
        Boolean
      • setSymbolAntialias

        public void setSymbolAntialias​(boolean value)
        Set symbol antialias
        参数:
        value - Boolean
      • draw

        public abstract void draw​(java.awt.Graphics2D g2,
                                  java.awt.geom.Rectangle2D area)
        Draw graphics
        参数:
        g2 - Graphics2D
        area - Graphics area
      • getPositionArea

        public java.awt.geom.Rectangle2D getPositionArea()
        Get position area
        返回:
        position area
      • getPositionArea

        public java.awt.geom.Rectangle2D getPositionArea​(double zoom)
        Get position area
        参数:
        zoom - Zoom
        返回:
        Position area
      • setPositionArea

        public void setPositionArea​(java.awt.geom.Rectangle2D value)
        Set position area
        参数:
        value - Position area
      • getGraphArea

        public java.awt.geom.Rectangle2D getGraphArea()
        Get graph area
        返回:
        Graph area
      • setGraphArea

        public void setGraphArea​(java.awt.geom.Rectangle2D value)
        Set graph area
        参数:
        value - Graph area
      • getPositionArea

        public java.awt.geom.Rectangle2D getPositionArea​(java.awt.geom.Rectangle2D area)
        Get position area
        参数:
        area - Figure area
        返回:
        Position area
      • getTightInset

        public abstract Margin getTightInset​(java.awt.Graphics2D g,
                                             java.awt.geom.Rectangle2D positionArea)
        Get tight inset
        参数:
        g - Graphics2D
        positionArea - Position area
        返回:
        Tight inset margin
      • getPositionAreaZoom

        public double getPositionAreaZoom()
        Get position area zoom
        返回:
        Position area zoom
      • setPositionAreaZoom

        public void setPositionAreaZoom​(double value)
        Set position area zoom
        参数:
        value - Position area zoom
      • getPlotShrink

        public Margin getPlotShrink()
        Get plot shrink
        返回:
        Plot shrink
      • setPlotShrink

        public void setPlotShrink​(Margin shrink)
        Set plot shrink
        参数:
        shrink - Shrink
      • updatePostionAreaZoom

        public double updatePostionAreaZoom()
        Update position area zoom
        返回:
        Position area zoom
      • updatePositionArea

        public void updatePositionArea()
        Update position area