final List ticks = this.refreshTicks(g2, state, dataArea, edge);
state.setTicks(ticks);
g2.setFont(this.getTickLabelFont());
final Iterator iterator = ticks.iterator();
while (iterator.hasNext()) {
final ValueTick tick = (ValueTick) iterator.next();
if (this.isTickLabelsVisible()) {
// TODO Set color
// g2.setPaint(getTickLabelPaint());
final Point anchorPoint = this.calculateAnchorPoint(tick,
cursor, dataArea, edge);
TextUtilities.drawRotatedString(tick.getText(), g2,
anchorPoint.x, anchorPoint.y, tick.getTextAnchor(),
tick.getAngle(), tick.getRotationAnchor());
}
if (this.isTickMarksVisible()) {
final int xx = (int) this.valueToJava2D(tick.getValue(),
dataArea, edge);
// TODO Set color and linestyle
// g2.setStroke(getTickMarkStroke());
// g2.setPaint(getTickMarkPaint());