Pie chart colors


I need to get pie chart colors.

I tried to do like a this

But my chart haven’t any point. Could you help?

My code:

var pres = new PresentationEx("D:\\1.pptx");
var pieChart = (ChartEx)pres.Slides[0].Shapes[0];

foreach (ChartPointEx point in pieChart.ChartData.Series.OfType().SelectMany(_ => _.Points.OfType()))

1.pptx atached


I have worked with the presentation file shared by you and have been able to observe the issue specified while accessing the chart series points. An issue with ID SLIDESNET-34543 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be automatically notified once the issue will be resolved.

We are sorry for your inconvenience,