public boolean removeEntry(T e){
  if (e == null)   return false;
  boolean removed=mYVals.remove(e);
  if (removed) {
    float val=e.getVal();
    mYValueSum-=val;
    calcMinMax(mLastStart,mLastEnd);
  }
  return removed;
}

public boolean removeEntry ( T e ) { if ( e == null ) return false ; boolean removed = mYVals . remove ( e ) ; if ( removed ) { float val = e . getVal ( ) ; mYValueSum -= val ; calcMinMax ( mLastStart , mLastEnd ) ; } return removed ; }
removes an entry from the datasets entries array . this will also recalculate the current minimum and maximum values of the dataset and the value - sum . returns true if an entry was removed , false if no entry could be removed .
