Fixes appearance of piechart on iPads

Change diameter of piechart from a set size to a size calculated from the width of the view.