Change draw function of the PieChart