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

Free Support Forum - aspose.com

Exception thrown when rendering a chart which is reconizable by Excel


When I rendered an Excel chart to an image, I noticed it failed with exception.

var workbook = new Workbook(@".\test.xlsx");

The exception was:
System.ArgumentException: The numbers you specified can’t be used because the interval for the minor unittick marks must be less than or equal to the interval for the major unit tick marks!

I’m fully aware that Aspose failed because the interval settings of minor axis points was not valid.

However, the point I argue is that since MS Excel is able to still open the document and we are still able to copy the chart as picture from Excel manually (ctrl+c&v), Aspose should also be able to render the chart to an image, instead of throwing an exception and failing.

I’ve attached the test file for your reference. Could you please help me check the case?

test.zip (26.2 KB)


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.

This issue has been logged as

CELLSNET-47086 – Exception thrown when rendering a chart

This is to inform you that we have fixed your issue (logged earlier as “CELLSNET-47086”) now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.


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

Your issue should be fixed in it.

Let us know your feedback.
Aspose.Cells20.3.2 For .Net2_AuthenticodeSigned.Zip (5.3 MB)
Aspose.Cells20.3.2 For .Net4.0.Zip (5.3 MB)

The issues you have found earlier (filed as CELLSNET-47086) have been fixed in Aspose.Cells for .NET v20.4. This message was posted using Bugs notification tool by Amjad_Sahi