* @see IAxisTick#getBounds()
*/
public Rectangle getBounds() {
Rectangle r1 = axisTickMarks.getBounds();
Rectangle r2 = axisTickLabels.getBounds();
Position position = axis.getPosition();
if (position == Position.Primary && axis.isHorizontalAxis()) {
return new Rectangle(r1.x, r1.y, r1.width, r1.height + r2.height);
} else if (position == Position.Secondary && axis.isHorizontalAxis()) {
return new Rectangle(r1.x, r2.y, r1.width, r1.height + r2.height);