I tried using the code above and it worked, but I couldn’t get the rest of my pie chart functionality to work with it. Plus, because some of the recommended code will be irrelevant soon, I’m not sure if this was the best choice.
I’ve attached some files that show my current process (which works great for now), but gets the data from the database instead of the table. It also uses deprecated code. This will show you how I’m also using the chart listeners to update the table from chart interactions. When a slice is removed from the whole, the table loses the pulled out items.
The recommended code created the chart, fine, but I couldn’t create PieChartValues from the MapDatItems, and using DataItems instead of PieChartValues didn’t work either.
Chart issue.zip (2.7K)