protected void calcFormats(){
  if (mValueDigitsToUse == -1)   mValueFormatDigits=Utils.getPieFormatDigits(mDeltaY);
 else   mValueFormatDigits=mValueDigitsToUse;
  StringBuffer b=new StringBuffer();
  for (int i=0; i < mValueFormatDigits; i++) {
    if (i == 0)     b.append(".");
    b.append("0");
  }
  mFormatValue=new DecimalFormat("###,###,###,##0" + b.toString());
}

protected void calcFormats ( ) { if ( mValueDigitsToUse == - 1 ) mValueFormatDigits = Utils . getPieFormatDigits ( mDeltaY ) ; else mValueFormatDigits = mValueDigitsToUse ; StringBuffer b = new StringBuffer ( ) ; for ( int i = 0 ; i < mValueFormatDigits ; i ++ ) { if ( i == 0 ) b . append ( "." ) ; b . append ( "0" ) ; } mFormatValue = new DecimalFormat ( "###,###,###,##0" + b . toString ( ) ) ; }
calculates the required number of digits for the y - legend and for the values that might be drawn in the chart ( if enabled )
