final Font tickLabelFont = this.getTickLabelFont();
g2.setFont(tickLabelFont);
// FontRenderContext frc = g2.getFontRenderContext();
// LineMetrics lm = tickLabelFont.getLineMetrics("ABCxyz", frc);
final FontMetrics lm = g2.getFontMetrics();
if (this.isVerticalTickLabels()) {
// all tick labels have the same width (equal to the height of
// the font)...
result += lm.getHeight();
} else {
// look at lower and upper bounds...
final DateRange range = (DateRange) this.getRange();
final Date lower = range.getLowerDate();
final Date upper = range.getUpperDate();