protected void drawAnnotations(final GC g2, final Rectangle dataArea) {
if (this.getAnnotations() != null) {
final Iterator iterator = this.getAnnotations().iterator();
while (iterator.hasNext()) {
final CategoryAnnotation annotation = (CategoryAnnotation) iterator
.next();
annotation.draw(g2, this, dataArea, this.getDomainAxis(), this
.getRangeAxis());
}
}
}