// draw the range grid lines, if any...
if (this.isRangeGridlinesVisible()) {
final Stroke gridStroke = this.getRangeGridlineStroke();
final Color gridPaint = this.getRangeGridlinePaint();
if ((gridStroke != null) && (gridPaint != null)) {
final ValueAxis axis = this.getRangeAxis();
if (axis != null) {
final Iterator iterator = ticks.iterator();
while (iterator.hasNext()) {
final ValueTick tick = (ValueTick) iterator.next();
final CategoryItemRenderer renderer1 = this