Free Support Forum - aspose.com

Chart object in docx became very different when converting to pdf

Hi,

When converting a document with chart to pdf, the chart became very different in the pdf:

Code:
var doc = new Document(@“Doc1.docx”);
doc.Save(@“Doc1.pdf”);

I can see the axis lines are missing, the right edge of the chart got cut off, and the axis labels are changed.

I’ve attached a screenshot and test files for your reference. Could you please have a look?

Doc1.zip (497.4 KB)
image.png (46.5 KB)

Thanks,

@ServerSide527

Thanks for your inquiry. We have tested the scenario and have managed to reproduce the same issue at our side. For the sake of correction, we have logged this problem in our issue tracking system as WORDSNET-17601. You will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-17601) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.

The issues you have found earlier (filed as WORDSNET-17641,WORDSNET-17642,WORDSNET-17643) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.

The issues you have found earlier (filed as WORDSNET-17601,WORDSNET-17641,WORDSNET-17642,WORDSNET-17643) have been fixed in this Aspose.Words for .NET 18.12 update and this Aspose.Words for Java 18.12 update.

The issues you have found earlier (filed as WORDSNET-17644) have been fixed in this Aspose.Words for .NET 19.1 update and this Aspose.Words for Java 19.1 update.

The issues you have found earlier (filed as WORDSNET-17821) have been fixed in this Aspose.Words for .NET 19.4 update and this Aspose.Words for Java 19.4 update.