edit pie chart