|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.chart.axis.Axis
org.jfree.chart.axis.CategoryAxis
org.jfree.chart.axis.CategoryAxis3D
public class CategoryAxis3D
An axis that displays categories and has a 3D effect. Used for bar charts and line charts.
| Field Summary |
|---|
| Fields inherited from class org.jfree.chart.axis.CategoryAxis |
|---|
DEFAULT_AXIS_MARGIN, DEFAULT_CATEGORY_MARGIN |
| Constructor Summary | |
|---|---|
CategoryAxis3D()
Creates a new axis. |
|
CategoryAxis3D(java.lang.String label)
Creates a new axis using default attribute values. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a clone of the axis. |
AxisState |
draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.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). |
double |
getCategoryJava2DCoordinate(CategoryAnchor anchor,
int category,
int categoryCount,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java 2D coordinate for a category. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CategoryAxis3D()
public CategoryAxis3D(java.lang.String label)
label - the axis label (null permitted).| Method Detail |
|---|
public AxisState draw(java.awt.Graphics2D g2,
double cursor,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D dataArea,
org.jfree.ui.RectangleEdge edge,
PlotRenderingInfo plotState)
draw in class CategoryAxisg2 - 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).
null).
public double getCategoryJava2DCoordinate(CategoryAnchor anchor,
int category,
int categoryCount,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
getCategoryJava2DCoordinate in class CategoryAxisanchor - the anchor point.category - the category index.categoryCount - the category count.area - the data area.edge - the location of the axis.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in class CategoryAxisjava.lang.CloneNotSupportedException - If the axis is not cloneable for
some reason.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||