Column Stacked 100 Chart not always showing up on Powerpoint to PDF export

I'm creating a OfficeChartType.Column_Stacked_100 chart which is rendering properly in powerpoint. I'm then exporting the powerpoint to PDF. However, some of the time, it will not render when I try to export it to PDF. Every other chart always renders. It's only the Column_Stacked_100 charts that have trouble, I checked Column-Stacked out, and it works, but it doesn't look right for my purposes. Bar_Stacked_100 also does not work.
chart.ChartType = OfficeChartType.Column_Stacked_100;
chart.PrimaryValueAxis.DisplayUnit = OfficeChartDisplayUnit.Hundreds;

chart.ChartData.SetValue(rowCount, columnCount, Math.Round(double.Parse(point.Value), 2));
I've posted some relevant code.
I tried exporting the powerpoint to pdf in a non-syncfusion product and it worked just fine.

3 Replies

RM Ramaraj Marimuthu Syncfusion Team June 5, 2018 02:42 PM UTC

Hi Kurties,

Thank you for contacting Syncfusion support.

We are unable to reproduce the mentioned issue “Column stacked 100 chart is not rendered while exporting PowerPoint to PDF” with our latest release version “16.1.0.37”. We have attached the sample that we have used to reproduce the issue, for your references. Please try this sample with the mentioned release version assemblies/NuGet and update us the details.
 

If your requirement is different from the provided sample, please modify the sample and revert us back. So that we can proceed further in this.

Sample - http://www.syncfusion.com/downloads/support/forum/137949/ze/MVC_PPTXToPDF-578315814

Please find the latest Syncfusion NuGet from the below location,
http://nuget.syncfusion.com
 
Please let us know if you need any further assistances in this.

Regards,
Ramaraj Marimuthu.
 



UN Unknown Syncfusion Team June 5, 2018 05:46 PM UTC

Thank you for your assistance so far.

I'm actually having trouble even running your solution, but would you be able to try something out on your end? 

The data set I'm having trouble with is a jagged array with decimals. 

ex. 
1 2 3 4
Ford 45.78 24.1 14.46 15.66
Toyota 24.1 37.35 24.1 14.46
Honda 38.55 15.66 45.78  
GMC 30.12 22.89 24.1  


RM Ramaraj Marimuthu Syncfusion Team June 6, 2018 01:21 PM UTC

Hi Kurtis,

Thank you for your details.

We can reproduce the reported issue “Column stacked 100 and Bar stacked 100 charts are not rendering while exporting PowerPoint to PDF” with provided data set. We have added a defect report for this issue. This issue will be resolved in our upcoming 2018 Volume 2 SP1 release which is expected to be available on July 2018.

Please let us know if you need any further assistances in this.

Regards,
Ramaraj Marimuthu.
 


Loader.
Up arrow icon