We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Charts disapear when saving excel file as pdf

We are having a problem that charts in excel files are not included in the pdf file when we are trying to save a workbook as pdf. We are using Aspose.Cells v. and xlsx files. The code we are using to generate the pdf files are the following:

MemoryStream fileStream = File.Open(@"c:\temp\test.xslx");

Stream pdfStream = new MemoryStream();

Workbook workbook = new Workbook();


workbook.Save(pdfStream, FileFormatType.Pdf);

Any ideas on whats wrong?

I have updated this post now with the excel file attached.


Please post your template Excel file here, we will check you issue soon.

Thank you.