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

Free Support Forum - aspose.com

Saving Excel chart with at lease two data series labels with colored font

Hi,

Saving an Excel chart with multiple data series and setting the font color to something other than automatic for the labels of at least two series will throw ArgumentOutOfRangeException.

In order to reproduce the issue run the code below on the attached file.

var wb = new Workbook(@“C:\Sample Object.xlsx”);
wb.Save(“c:\Sample Object Result.xlsx”, Aspose.Cells.SaveFormat.Xlsx);

Regards,
Lucian Nistor
Senior Software Developer
IBM Romania

Hi,


Thanks for the sample file and sharing the sample code.

After an initial test, I found the exception when re-saving the template file you attached as you have mentioned:
“Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index”

I have logged a ticket with an id “CELLSNET-41858” for your issue. We will look into your issue soon.

Once we have any update on it, we will let you know here.

Thank you.

Hi,

Thanks for your posting and using Aspose.Cells for .NET.

We have fixed the issue.

Please download and try this fix: Aspose.Cells for .NET v7.5.1.3 and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-41858) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by Aspose Notifier.