Pie Chart Labels Messed Up in PDF Generated from Excel Worksheet

When I use the latest version of Aspose.Cells to manipulate and save a worksheet to PDF, a pie chart that looks great in Excel ends up having its labels messed up in the PDF.

If I first save the Excel file using Aspose.Cells, then open it in Excel, view the worksheet with the chart, save the Excel file, then use Aspose.Cells to save the Excel file as PDF, the chart looks great.

Attached is a zip file with these files:

  • PieChartBadWhenSavedToPdf.xlsx (Saved by Aspose.Cells)
  • PieChartBadWhenSavedToPdf.pdf (Saved from prior file using Aspose.Cells)
  • PieChartGoodWhenSavedToPdf.xlsx (Created by opening the first file in Excel, clicking on second worksheet, and saving.)
  • PieChartGoodWhenSavedToPdf.pdf (Saved from prior file Aspose.Cells)
  • Code.txt (A C# method that reads in both Excel files and saves them to PDF)

PieChartProblem.zip (2.4 MB)

@jcapsonbr,
We have reproduced the issue and logged it in our database for further investigation. You will be notified here once any update is ready for sharing.

This issue is logged as:
CELLSNET-47917 - Pie Chart Labels Messed Up in PDF Generated from Excel Worksheet

Thank you, glad you could repro. Are you aware of a possible code workaround until a new DLL can be released?

@jcapsonbr,
We are afraid that as this issue is logged too recently, therefore it is not analyzed yet. Hence we cannot provide any ETA or workaround for it. Please spare us time to investigate this issue and share our feedback.

@jcapsonbr,

Please try the latest fix 21.3.5.
Aspose.Cells21.3.5 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.3.5 For .Net4.0.Zip (5.5 MB)
Aspose.Cells21.3.5 For .NetStandard20.Zip (5.5 MB)

The issues you have found earlier (filed as CELLSNET-47917) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao