Hi, can you help me in this code?:
Chart ch = new Chart(); ch.Width = 400; ch.Height = 250;
((PieSeries)ch.Series[0]).ItemsSource = new KeyValuePair[]{ new KeyValuePair("Project Manager", 12), new KeyValuePair("CEO", 25), new KeyValuePair("ACME WPF INC.", 5), new KeyValuePair("Team Leader", 6), new KeyValuePair("Project Leader", 10), new KeyValuePair("Developer", 4) };
I can't to find how to indicate the chart type (Pie)... Thank you!