feat(PieChart): redraw chart if layout changed
This is to support autolayout and constraints. Resize layers for current bounds on layoutSubviews. For that to work we need to have radiuses recomputed on each draw. As a bonus you can now orverride `recompute` method to change inner and outer radiuses. With possibility to change other attributes in a subclass.
Showing
2 changed files
with
23 additions
and
6 deletions
-
Please register or login to post a comment