public synchronized void add(double value){
  add(mCategories.size() + "",value);
}

public synchronized void add ( double value ) { add ( mCategories . size ( ) + "" , value ) ; }
adds a new value to the series
