com.jidesoft.chart.render
Class DefaultAxisRenderer
java.lang.Object
com.jidesoft.chart.render.DefaultAxisRenderer
- All Implemented Interfaces:
- AxisRenderer
public class DefaultAxisRenderer
- extends Object
- implements AxisRenderer
A class that implements the AxisRenderer interface and renders a simple line
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultAxisRenderer
public DefaultAxisRenderer()
renderAxis
public void renderAxis(Graphics g,
int x,
int y,
int length,
Orientation orientation)
- Specified by:
renderAxis
in interface AxisRenderer
getBreadth
public int getBreadth()
- Specified by:
getBreadth
in interface AxisRenderer
- Returns:
- the breadth of the axis in pixels.
For an axis that is rendered horizontally the breadth is its
height. for an axis that is rendered vertically, its breadth is its width.
setBreadth
public void setBreadth(int breadth)
- Specified by:
setBreadth
in interface AxisRenderer