protected void calculateFormatter(float min,float max){
  float reference=0f;
  if (mData == null || mData.getXValCount() < 2) {
    reference=Math.max(Math.abs(min),Math.abs(max));
  }
 else {
    reference=Math.abs(max - min);
  }
  int digits=Utils.getDecimals(reference);
  mDefaultFormatter=new DefaultValueFormatter(digits);
}

protected void calculateFormatter ( float min , float max ) { float reference = 0f ; if ( mData == null || mData . getXValCount ( ) < 2 ) { reference = Math . max ( Math . abs ( min ) , Math . abs ( max ) ) ; } else { reference = Math . abs ( max - min ) ; } int digits = Utils . getDecimals ( reference ) ; mDefaultFormatter = new DefaultValueFormatter ( digits ) ; }
calculates the required number of digits for the values that might be drawn in the chart ( if enabled ) , and creates the default - value - formatter
