final int idealTickStep = tickFormatter
.calcIdealTickStep(domainWidth, maxTicksForScreen);
//log("dw=" + (long)domainWidth + "; maxTicks=" + maxTicksForScreen +
// "; idealStep=" + idealTickStep);
tickFormatter
.resetToQuantizedTick(plot.getDomain().getStart(), idealTickStep);
boolean stillEnoughSpace = true; // enough space to draw another tick+label?
boolean isFirstTick = true;
firstTickX = bounds.width;