Rewrite PieChart.