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.

How to set X-axis labels orientation in word document chart. please help on this. Now it is showing based on data, but I want vertical.

please help with code snippet. I required this bit urgent, we have to upgrade our license if this work for me

Chart in Word document .Net : YAxis intesect to XAxis based on min value and dont show line below intersection

@Amol_Hekade I am afraid there is no way to set axis labels rotation and orientation at the moment. I have logged the appropriate feature requests (WORDSNET-27202, WORDSNET-27203) into our defect tracking system. We will keep you informed and let you know once these features are implemented.

@alexey.noskov I want to upgrade our license, if I am not sure then how can I tell management to upgrade, so please help to fix asap. So I can go for upgrade.

@Amol_Hekade Unfortunately, we cannot provide you any workaround for setting axis labels rotation. The issues are currently in the queue for analysis so no estimates are available. Please accept our apologies for your inconvenience.

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