Web
It is pretty straight-forward to create a pie chart with a simple label that identifies the “category” for each slice. What is a bit trickier is to modify that label so that it shows not only the category, but the percentage each slice represents. Let’s build the pie chart both ways to see the difference. In either case, we begin with data. Our pie chart will reflect a municipal budget, and so our first class is BudgetData, 1: public class BudgetData : INotifyPropertyChanged 2: { 3: private double millions; 4: public double Millions ...