com.jrefinery.chart
Interface VerticalAxis

All Known Implementing Classes:
VerticalCategoryAxis, VerticalNumberAxis, VerticalSymbolicAxis

public interface VerticalAxis

An interface that must be supported by all vertical axes for layout purposes.

Author:
DG

Method Summary
 java.awt.geom.Rectangle2D reserveAxisArea(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea, double reservedHeight)
          Estimates the area required to draw the axis, assuming that the horizontal axis has already reserved the specified height.
 double reserveWidth(java.awt.Graphics2D g2, Plot plot, java.awt.geom.Rectangle2D drawArea)
          Estimates the width required to draw the axis.
 

Method Detail

reserveAxisArea

public java.awt.geom.Rectangle2D reserveAxisArea(java.awt.Graphics2D g2,
                                                 Plot plot,
                                                 java.awt.geom.Rectangle2D drawArea,
                                                 double reservedHeight)
Estimates the area required to draw the axis, assuming that the horizontal axis has already reserved the specified height.
Parameters:
g2 - the graphics device.
plot - the plot that the axis belongs to.
drawArea - the area within which the plot should be drawn.
reservedHeight - the height reserved by the horizontal axis.
Returns:
the estimated area required to draw the axis.

reserveWidth

public double reserveWidth(java.awt.Graphics2D g2,
                           Plot plot,
                           java.awt.geom.Rectangle2D drawArea)
Estimates the width required to draw the axis.
Parameters:
g2 - the graphics device.
plot - the plot that the axis belongs to.
drawArea - the area within which the plot should be drawn.
Returns:
the estimated width required to draw the axis.