protected void garbageCollect(VisualTable labels){
  Iterator iter=labels.tuples();
  while (iter.hasNext()) {
    VisualItem item=(VisualItem)iter.next();
    if (!item.isStartVisible() && !item.isEndVisible()) {
      labels.removeTuple(item);
    }
  }
}

protected void garbageCollect ( VisualTable labels ) { Iterator iter = labels . tuples ( ) ; while ( iter . hasNext ( ) ) { VisualItem item = ( VisualItem ) iter . next ( ) ; if ( ! item . isStartVisible ( ) && ! item . isEndVisible ( ) ) { labels . removeTuple ( item ) ; } } }
remove axis labels no longer being used .
