add pie chart support