Free Support Forum -

[.Net][]Attempting to call Chart.Calculate() on included XLSX results in overflow error

Hello Aspose Team,

In the attached excel file I have included a sheet a lot of data and one scatter plot. When we call chart.calculate() on this excel it results in the following exception:

System.OverflowException: Overflow error. at System.Drawing.Graphics.CheckErrorStatus(Int32 status) at System.Drawing.Graphics.DrawPath(Pen pen, GraphicsPath path) (125.0 KB)

We are currently using Aspose.Cells for .NET Thank you for your assistance!


We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.

These issue has been logged as

CELLSNET-46336 - System.OverflowException raised while calling Chart.Calculate

Thank you very much for the update, it is really appreciated!!


You are welcome.


Please try our latest version/fix: Aspose.Cells for .NET v18.8.8 (attached)

Your issue should be fixed in it. The issue is caused by the horizontal axis crosses at value -500 when the axis is set to logarithmic, the value must be bigger than 0.

Let us know your feedback.

Aspose.Cells18.8.8 For .Net2_AuthenticodeSigned.Zip (4.6 MB)
Aspose.Cells18.8.8 For .Net4.0.Zip (4.6 MB)

The issues you have found earlier (filed as CELLSNET-46336) have been fixed in Aspose.Cells for .NET v18.9. This message was posted using BugNotificationTool from Downloads module by Amjad_Sahi