Free Support Forum -

Charts cutoff when saving Excel to Pdf


When converting some Excels to Pdf (using the .NET or Java version of Aspose Cells) charts are
not centered causing in some cases content not to be included in the PDF.

To reproduce, run the following code:

        String filename = @"chart_sheet.xls";
        Workbook wb = new Workbook(filename);
        PdfSaveOptions opts = new PdfSaveOptions();
        wb.Save(filename+".pdf", opts);

Using the following input file:

This is the output I get:

In another case, which I cannot send as the Excel file contains confidential information:
Here’s the Excel View of the PDF:

and here is the PDF with text cutoff I obtain:


We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

This issue has been logged as

CELLSNET-46732 - Inappropriate chart rendered to PDF

Regarding the second issue, I am afraid that without the sample Excel file, it is not possible to provide assistance as we must need to reproduce the issue here for our analysis. You may please replace the confidential data with the dummy data and share the file with us. We will test is and provide feedback accordingly.