modify the piechart