protected void drawDomainMarkers(Graphics2D g2,Rectangle2D dataArea,int index,Layer layer){
  CategoryItemRenderer r=getRenderer(index);
  if (r == null) {
    return;
  }
  Collection markers=getDomainMarkers(index,layer);
  CategoryAxis axis=getDomainAxisForDataset(index);
  if (markers != null && axis != null) {
    Iterator iterator=markers.iterator();
    while (iterator.hasNext()) {
      CategoryMarker marker=(CategoryMarker)iterator.next();
      r.drawDomainMarker(g2,this,axis,marker,dataArea);
    }
  }
}

protected void drawDomainMarkers ( Graphics2D g2 , Rectangle2D dataArea , int index , Layer layer ) { CategoryItemRenderer r = getRenderer ( index ) ; if ( r == null ) { return ; } Collection markers = getDomainMarkers ( index , layer ) ; CategoryAxis axis = getDomainAxisForDataset ( index ) ; if ( markers != null && axis != null ) { Iterator iterator = markers . iterator ( ) ; while ( iterator . hasNext ( ) ) { CategoryMarker marker = ( CategoryMarker ) iterator . next ( ) ; r . drawDomainMarker ( g2 , this , axis , marker , dataArea ) ; } } }
draws the domain markers ( if any ) for an axis and layer . this method is typically called from within the draw ( ) method .
