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

Free Support Forum - aspose.com

Graph conversion issue Excel to PDF

Hello,

I have a xls file which I need to convert to a PDF document.

When I use demo Aspose.Cells , and Aspose.Pdf to do the conversion the graphs in the excel sheet are messed up.

Attached is the original excel and the resuling PDF.

Is it because I am using a demo version.

I used the following code.

Workbook wb = new Workbook();
wb.Open(inputFile);

MemoryStream xmlDoc = new MemoryStream();
wb.Save(xmlDoc, FileFormatType.AsposePdf);

Pdf pdf = new Pdf();
pdf.BindXML(xmlDoc, null);
pdf.IsImagesInXmlDeleteNeeded = true;
pdf.IsCoreFontUsed = false;

pdf.Save(outputFile);

Hi,

Thanks for providing us the template files.

We found the issue after an initial test, we will figure it out soon.

Thank you.

Hi,

We do not support to automaticly set the Number of Categories between tick-mark labels. Please custom it (select catergory axis -> Scale->Number of Categories between tick-mark labels-> ok).

We are still looking into how to set this peroperty when it's auto. But it could not be supported soon.