Adding Labels to Pie Charts
In This Topic
To change the offset for all Pie slices, use the following code
C# |
Copy Code
|
chart.DataContext = new double[] { 1, 2, 3 };
chart.ChartType = ChartType.Pie;
chart.Loaded += (s, e) => ((BasePieRenderer)chart.Data.Renderer).Offset = 0.1;
|