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. 4.9.0.0 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.Open(fileStream);

workbook.Save(pdfStream, FileFormatType.Pdf);

Any ideas on whats wrong?

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

Hi,

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

Thank you.