org.jfree.chart.axis

Class NumberAxis3D

public class NumberAxis3D extends NumberAxis implements Serializable

A standard linear value axis with a 3D effect corresponding to the offset specified by some renderers.
Constructor Summary
NumberAxis3D()
Default constructor.
NumberAxis3D(String label)
Constructs a new axis.
Method Summary
AxisStatedraw(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).

Constructor Detail

NumberAxis3D

public NumberAxis3D()
Default constructor.

NumberAxis3D

public NumberAxis3D(String label)
Constructs a new axis.

Parameters: label the axis label (null permitted).

Method Detail

draw

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. cursor the cursor. plotArea the area for drawing the axes and data. dataArea the area for drawing the data (a subset of the plotArea). edge the axis location. plotState collects information about the plot (null permitted).

Returns: The updated cursor value.