private void drawCenterText(){
  if (mDrawCenterText) {
    PointF c=getCenter();
    String[] lines=mCenterText.split("\n");
    float lineHeight=(mValuePaint.ascent() + mValuePaint.descent()) * 1.6f;
    float textheight=lines.length * lineHeight;
    for (int i=0; i < lines.length; i++) {
      mDrawCanvas.drawText(lines[lines.length - i - 1],c.x,c.y - textheight / 2 + lineHeight * i,mCenterTextPaint);
    }
  }
}

private void drawCenterText ( ) { if ( mDrawCenterText ) { PointF c = getCenter ( ) ; String [ ] lines = mCenterText . split ( "\n" ) ; float lineHeight = ( mValuePaint . ascent ( ) + mValuePaint . descent ( ) ) * 1.6f ; float textheight = lines . length * lineHeight ; for ( int i = 0 ; i < lines . length ; i ++ ) { mDrawCanvas . drawText ( lines [ lines . length - i - 1 ] , c . x , c . y - textheight / 2 + lineHeight * i , mCenterTextPaint ) ; } } }
draws the description text in the center of the pie chart makes most sense when center - hole is enabled
