/** * returns the diameter of the pie- or radar-chart * * @return */ public float getDiameter() { RectF content = mViewPortHandler.getContentRect(); content.left += getExtraLeftOffset(); content.top += getExtraTopOffset(); content.right -= getExtraRightOffset(); content.bottom -= getExtraBottomOffset(); return Math.min(content.width(), content.height()); }
legendTop += getExtraTopOffset(); legendRight += getExtraRightOffset(); legendBottom += getExtraBottomOffset();
/** * returns the diameter of the pie- or radar-chart * * @return */ public float getDiameter() { RectF content = mViewPortHandler.getContentRect(); content.left += getExtraLeftOffset(); content.top += getExtraTopOffset(); content.right -= getExtraRightOffset(); content.bottom -= getExtraBottomOffset(); return Math.min(content.width(), content.height()); }
/** * returns the diameter of the pie- or radar-chart * * @return */ public float getDiameter() { RectF content = mViewPortHandler.getContentRect(); content.left += getExtraLeftOffset(); content.top += getExtraTopOffset(); content.right -= getExtraRightOffset(); content.bottom -= getExtraBottomOffset(); return Math.min(content.width(), content.height()); }
/** * returns the diameter of the pie- or radar-chart * * @return */ public float getDiameter() { RectF content = mViewPortHandler.getContentRect(); content.left += getExtraLeftOffset(); content.top += getExtraTopOffset(); content.right -= getExtraRightOffset(); content.bottom -= getExtraBottomOffset(); return Math.min(content.width(), content.height()); }
/** * returns the diameter of the pie- or radar-chart * * @return */ public float getDiameter() { RectF content = mViewPortHandler.getContentRect(); content.left += getExtraLeftOffset(); content.top += getExtraTopOffset(); content.right -= getExtraRightOffset(); content.bottom -= getExtraBottomOffset(); return Math.min(content.width(), content.height()); }
legendTop += getExtraTopOffset(); legendRight += getExtraRightOffset(); legendBottom += getExtraBottomOffset();
legendTop += getExtraTopOffset(); legendRight += getExtraRightOffset(); legendBottom += getExtraBottomOffset();
legendTop += getExtraTopOffset(); legendRight += getExtraRightOffset(); legendBottom += getExtraBottomOffset();
legendTop += getExtraTopOffset(); legendRight += getExtraRightOffset(); legendBottom += getExtraBottomOffset();