Class CategoryAxis3D

All Implemented Interfaces:
Serializable, Cloneable

public class CategoryAxis3D
extends CategoryAxis
implements Cloneable, Serializable
An axis that displays categories and has a 3D effect. Used for bar charts and line charts.
Author:
Klaus Rheinwald
See Also:
Serialized Form
  • Constructor Details

    • CategoryAxis3D

      public CategoryAxis3D()
      Creates a new axis.
    • CategoryAxis3D

      public CategoryAxis3D​(String label)
      Creates a new axis using default attribute values.
      Parameters:
      label - the axis label (null permitted).
  • Method Details

    • draw

      public AxisState draw​(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, org.jfree.ui.RectangleEdge edge, PlotRenderingInfo plotState)
      Draws the axis on a Java 2D graphics device (such as the screen or a printer).
      Overrides:
      draw in class CategoryAxis
      Parameters:
      g2 - the graphics device (null not permitted).
      cursor - the cursor location.
      plotArea - the area within which the axis should be drawn (null not permitted).
      dataArea - the area within which the plot is being drawn (null not permitted).
      edge - the location of the axis (null not permitted).
      plotState - collects information about the plot (null permitted).
      Returns:
      the axis state (never null).
    • clone

      public Object clone() throws CloneNotSupportedException
      Returns a clone of the axis.
      Overrides:
      clone in class CategoryAxis
      Returns:
      A clone.
      Throws:
      CloneNotSupportedException - If the axis is not cloneable for some reason.