if (generator != null) {
final Font labelFont = this.getItemLabelFont(row, column);
final Color paint = this.getItemLabelPaint(row, column);
g2.setFont(labelFont);
g2.setForeground(paint);
final String label = generator.generateLabel(dataset, row, column);
ItemLabelPosition position = null;
if (!negative) {
position = this.getPositiveItemLabelPosition(row, column);
} else {
position = this.getNegativeItemLabelPosition(row, column);