public void clearValues(){
  mDataSets.clear();
  notifyDataChanged();
}

public void clearValues ( ) { mDataSets . clear ( ) ; notifyDataChanged ( ) ; }
clears this data object from all datasets and removes all entries . don ' t forget to invalidate the chart after this .
