Added legend to piechart (using github on ipad)