Class PiePlot3D

    • Field Detail

      • serialVersionUID

        private static final long serialVersionUID
        Deprecated.
        For serialization.
        See Also:
        Constant Field Values
      • depthFactor

        private double depthFactor
        Deprecated.
        The factor of the depth of the pie from the plot height
      • darkerSides

        private boolean darkerSides
        Deprecated.
        A flag that controls whether or not the sides of the pie chart are rendered using a darker colour.
    • Constructor Detail

      • PiePlot3D

        public PiePlot3D()
        Deprecated.
        Creates a new instance with no dataset.
      • PiePlot3D

        public PiePlot3D​(PieDataset dataset)
        Deprecated.
        Creates a pie chart with a three dimensional effect using the specified dataset.
        Parameters:
        dataset - the dataset (null permitted).
    • Method Detail

      • getDepthFactor

        public double getDepthFactor()
        Deprecated.
        Returns the depth factor for the chart.
        Returns:
        The depth factor.
        See Also:
        setDepthFactor(double)
      • setDepthFactor

        public void setDepthFactor​(double factor)
        Deprecated.
        Sets the pie depth as a percentage of the height of the plot area, and sends a PlotChangeEvent to all registered listeners.
        Parameters:
        factor - the depth factor (for example, 0.20 is twenty percent).
        See Also:
        getDepthFactor()
      • getDarkerSides

        public boolean getDarkerSides()
        Deprecated.
        Returns a flag that controls whether or not the sides of the pie chart are rendered using a darker colour.
        Returns:
        A boolean.
        See Also:
        setDarkerSides(boolean)
      • setDarkerSides

        public void setDarkerSides​(boolean darker)
        Deprecated.
        Sets a flag that controls whether or not the sides of the pie chart are rendered using a darker colour, and sends a PlotChangeEvent to all registered listeners.
        Parameters:
        darker - true to darken the sides, false to use the default behaviour.
        See Also:
        getDarkerSides()
      • draw

        public void draw​(java.awt.Graphics2D g2,
                         java.awt.geom.Rectangle2D plotArea,
                         java.awt.geom.Point2D anchor,
                         PlotState parentState,
                         PlotRenderingInfo info)
        Deprecated.
        Draws the plot on a Java 2D graphics device (such as the screen or a printer). This method is called by the JFreeChart class, you don't normally need to call it yourself.
        Overrides:
        draw in class PiePlot
        Parameters:
        g2 - the graphics device.
        plotArea - the area within which the plot should be drawn.
        anchor - the anchor point.
        parentState - the state from the parent plot, if there is one.
        info - collects info about the drawing (null permitted).
      • drawSide

        protected void drawSide​(java.awt.Graphics2D g2,
                                java.awt.geom.Rectangle2D plotArea,
                                java.awt.geom.Arc2D arc,
                                java.awt.geom.Area front,
                                java.awt.geom.Area back,
                                java.awt.Paint paint,
                                java.awt.Paint outlinePaint,
                                java.awt.Stroke outlineStroke,
                                boolean drawFront,
                                boolean drawBack)
        Deprecated.
        Draws the side of a pie section.
        Parameters:
        g2 - the graphics device.
        plotArea - the plot area.
        arc - the arc.
        front - the front of the pie.
        back - the back of the pie.
        paint - the color.
        outlinePaint - the outline paint.
        outlineStroke - the outline stroke.
        drawFront - draw the front?
        drawBack - draw the back?
      • getPlotType

        public java.lang.String getPlotType()
        Deprecated.
        Returns a short string describing the type of plot.
        Overrides:
        getPlotType in class PiePlot
        Returns:
        Pie 3D Plot.
      • isAngleAtFront

        private boolean isAngleAtFront​(double angle)
        Deprecated.
        A utility method that returns true if the angle represents a point at the front of the 3D pie chart. 0 - 180 degrees is the back, 180 - 360 is the front.
        Parameters:
        angle - the angle.
        Returns:
        A boolean.
      • isAngleAtBack

        private boolean isAngleAtBack​(double angle)
        Deprecated.
        A utility method that returns true if the angle represents a point at the back of the 3D pie chart. 0 - 180 degrees is the back, 180 - 360 is the front.
        Parameters:
        angle - the angle.
        Returns:
        true if the angle is at the back of the pie.
      • equals

        public boolean equals​(java.lang.Object obj)
        Deprecated.
        Tests this plot for equality with an arbitrary object.
        Overrides:
        equals in class PiePlot
        Parameters:
        obj - the object (null permitted).
        Returns:
        A boolean.