Chart axis is wrong in the .pdf converted from .docx using Aspose.Words

Hi,

When converting a Word document with a chart to pdf, the result looks wrong.
Code:

var document = new Document(@"test.docx");
document.Save(@"out.pdf");

I’ve attached the test documents and a screenshot for your reference. You can find the horizontal axis looks correct in the pdf created by Office ‘save as’, but wrong in the pdf created by Aspose. The colour of the axis line is also changed (from grey to black).

image.png (89.9 KB)
TestDocuments.zip (178.2 KB)

Could you please take a look into this?

Thanks,

@ServerSide527,

Thanks for your inquiry. We tested the scenario and have managed to reproduce the same problem on our end. For the sake of correction, we have logged this problem in our issue tracking system. The ID of this issue is WORDSNET-17258. We will further look into the details of this problem and will keep you updated on the status of correction. We apologize for your inconvenience.

Hi,

Many thanks for the ticket. I also noticed the same issue with the same chart when converting to html today.

Code:

var document = new Document(@“test.docx”);
document.Save(@“out.html”);

image.png (38.3 KB)
test2.zip (100.0 KB)

Could you please take a look at this as well?

Thanks,

@ServerSide527,

Thanks for the additional information. We will inform you via this thread as soon as these issues are resolved as per WORDSNET-17258. We apologize for the inconvenience.

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

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

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

@ServerSide527,

It is to update you that we had identified three separate issues in your document.

  • The data labels format is not applied after converting to PDF (WORDSNET-17258 - resolved)
  • Incorrect scaling of the X axis. The values of the X axis after the conversion to PDF are different from the values of the source document. (WORDSNET-17350 - implementation of this issue is postponed for now)
  • The color of the axis lines differs from the color in the source document. (WORDSNET-17342 - resolved)

You will be notified when the outstanding issue is resolved.