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

Free Support Forum - aspose.com

Bug in Aspose.Cells.Chart.ToImage method


I have an Excel template using charts with dynamic data ranges. The dynamic data range are accomplished using the OFFSET and COUNTA excel functions. For further description please see:


The toImage method throws a nullpointerexception when attempting to get the image for such charts.

Attached you will find a simple project that will reveal the bug. Please read comments in Program.cs for more info


Thanks for the project with template file.

We found the issue with the first chart having values based on formulated dynamic ranges. We will figure it out soon.

Thank you.