progress on adaptive pie chart