public void resetColors(){
  if (mColors == null) {
    mColors=new ArrayList<>();
  }
  mColors.clear();
}

public void resetColors ( ) { if ( mColors == null ) { mColors = new ArrayList < > ( ) ; } mColors . clear ( ) ; }
resets all colors of this dataset and recreates the colors array .
