final ValueAxis rangeAxis = this.getRangeAxisForDataset(index);
final boolean hasData = !DatasetUtilities.isEmptyOrNull(currentDataset);
if (hasData && (renderer != null)) {
foundData = true;
final CategoryItemRendererState state = renderer.initialise(g2,
dataArea, this, index, info);
final int columnCount = currentDataset.getColumnCount();
final int rowCount = currentDataset.getRowCount();
final int passCount = renderer.getPassCount();
for (int pass = 0; pass < passCount; pass++) {