X-axis labels orientation is wrong in charts when converting DOCX to PDF

Hi,

When converting a DOCX with some charts to PDF, I noticed the orientation of the X-axis labels were wrong.

Code:

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

I’ve attached the test files for your reference. Could you please help to take a look?

test.zip (68.9 KB)

Thanks,

@ServerSide527 Thank you for reporting this problem to us. Ii have logged it as WORDSNET-23247. We will keep you informed and let you know once it is resolved.
It seems the problem occurs because Aspose.Words measures labels a little differently than MS Word and does not rotate labels. If you slightly decrease width of your chart, Aspose.Words will rotate the labels.

The issues you have found earlier (filed as WORDSNET-23247) have been fixed in this Aspose.Words for .NET 22.8 update also available on NuGet.