public class

CategoryAxis3D

extends CategoryAxis
implements Serializable Cloneable
java.lang.Object
   ↳ org.jfree.chart.axis.Axis
     ↳ org.jfree.chart.axis.CategoryAxis
       ↳ org.jfree.chart.axis.CategoryAxis3D

Class Overview

An axis that displays categories and has a 3D effect. Used for bar charts and line charts.

Summary

[Expand]
Inherited Constants
From class org.jfree.chart.axis.CategoryAxis
From class org.jfree.chart.axis.Axis
[Expand]
Inherited Fields
From class org.jfree.chart.axis.Axis
Public Constructors
CategoryAxis3D()
Creates a new axis.
CategoryAxis3D(String label)
Creates a new axis using default attribute values.
Public Methods
Object clone()
Returns a clone of the axis.
AxisState draw(Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)
Draws the axis on a Java 2D graphics device (such as the screen or a printer).
double getCategoryJava2DCoordinate(CategoryAnchor anchor, int category, int categoryCount, Rectangle2D area, RectangleEdge edge)
Returns the Java 2D coordinate for a category.
[Expand]
Inherited Methods
From class org.jfree.chart.axis.CategoryAxis
From class org.jfree.chart.axis.Axis
From class java.lang.Object

Public Constructors

public CategoryAxis3D ()

Creates a new axis.

public CategoryAxis3D (String label)

Creates a new axis using default attribute values.

Parameters
label the axis label (null permitted).

Public Methods

public Object clone ()

Returns a clone of the axis.

Returns
  • A clone.
Throws
CloneNotSupportedException If the axis is not cloneable for some reason.

public AxisState draw (Graphics2D g2, double cursor, Rectangle2D plotArea, Rectangle2D dataArea, RectangleEdge edge, PlotRenderingInfo plotState)

Draws the axis on a Java 2D graphics device (such as the screen or a printer).

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).

public double getCategoryJava2DCoordinate (CategoryAnchor anchor, int category, int categoryCount, Rectangle2D area, RectangleEdge edge)

Returns the Java 2D coordinate for a category.

Parameters
anchor the anchor point.
category the category index.
categoryCount the category count.
area the data area.
edge the location of the axis.
Returns
  • The coordinate.