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

Free Support Forum - aspose.com

Word to PDF | Rendering of Trendline Equation or Chart Trend Lines C# .NET

Hi Team, We have the latest Aspose.Total version but this still seems to be an issue. We are having major issues with trend-lines. Can someone please reach out. We are using 20.12.0.0

@kbalach,

Have you tried the latest (21.3) version of Aspose.Words for .NET on your end? In case the problem still remains, then please ZIP and upload your simplified input Word document and Aspose.Words generated PDF file showing the undesired behavior here for testing. We will then investigate the issue on our end and provide you more information.

Yes Awais. We tried it. We are getting the below error. I am attaching the document with the chart.
We are getting the same error with 20 and 21

Aspose.Words: System.IndexOutOfRangeException: Index was outside the bounds of the array.
TargetAssembly: Aspose.Words, Version=20.12.0.0Doc6.zip (13.2 KB)Trendline.zip (13.5 KB)

@kbalach,

Regarding Trendline.xml to PDF conversion, we managed to reproduce following exception on our end:

System.IndexOutOfRangeException
HResult=0x80131508
Message=Index was outside the bounds of the array.
Source=Aspose.Words

The ID of this issue is WORDSNET-21968.

Regarding Doc6.docx to PDF conversion, we can see that Aspose.Words 21.3 skips rendering of even numbers in x-Axis of chart (see 21.3.pdf (16.3 KB)). The ID of this issue is WORDSNET-21969.

We will further look into the details of these problems and will keep you updated on the statuses of corrections. We apologize for your inconvenience.

Team, any updates or ETA on this issue? This is becoming critical in our production environment

@kbalach,

Your issues are currently ‘In Analysis’ phase and there are no estimates available at the moment. We may be able to calculate and share the ETA (timelines) with you after completing the analysis of these issues. Sorry for the inconvenience.

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