adding the pie chart support