We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
close icon

Export Pie Chart

Hi !
I'm trying to make export to *.pptx for pie chart.
Can you give me a link  with example of export to ppt for this kind of chart ?  
Other types of charts are working (bar, lines ..).

If I do it like bar, the chart in ppt take only one chart.ChartData.SetValue, other sectors don't appear in ppt.

Thanks
Igor

4 Replies

MN Meikanda Nayanar Syncfusion Team June 16, 2017 12:31 PM UTC

Hi Igor, 
Thank you for your details. 
The Pie charts can only take one “data series”. Please find the screenshot below for your reference. 
 
Please find the below links from Microsoft PowerPoint for your reference about Pie chart. 
Please let us know if you need any further assistance in this. 
Thanks, 
Meikandan 



IG IgorKuznetsov June 18, 2017 04:42 AM UTC

Hi ! 
How I can set the color of pies sector? 
In PowerPoint it in Format Data Point.

Thanks.
Igor.


KK Kumaravel Kulandai Samy Syncfusion Team June 19, 2017 02:47 PM UTC

Hi Igor, 
 
Thank you for your update. 
 
We have checked the details please find the below code snippet for setting the color for Pie chart series data points. 
 //Set the color for Pie sectors 
serie.DataPoints[0].DataFormat.Fill.FillType = OfficeFillType.SolidColor; 
serie.DataPoints[0].DataFormat.Fill.ForeColorIndex = OfficeKnownColors.Aqua; 
  
Also, we have created a sample to change the color of Pie chart series data points. 
 
 
Please let us know if you need any further assistance in this. 
Thanks, 
Regards, 
Kumaravel.K 



IG IgorKuznetsov June 19, 2017 03:37 PM UTC

Thanks !
It works !
Igor

Loader.
Live Chat Icon For mobile
Up arrow icon