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)