private float calcAngle(float value){
  return value / mData.getYValueSum() * 360f;
}

private float calcAngle ( float value ) { return value / mData . getYValueSum ( ) * 360f ; }
calculates the needed angle for a given value
