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

Free Support Forum - aspose.com

Read emtpy chart will get a wrong chart type

I’ve set a empty chart type as “Line with data markers” manually, but get the chart object by aspose.cells, I got this chart type is “Line”.
If I opened the sample file and check the chart type, it still the “Line with data markers” - it means the chart type is saved.
After I set the data on chart, the type of created series is also “Line”.
This is the sample code:
ConsoleApp4.zip (12.4 KB)

@Flithor,
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-48072 - Read emtpy chart will get a wrong chart type

@Flithor,
This is to inform you that we have fixed your issue now. We will soon provide you the fixed version after performing QA and incorporating other enhancements and fixes.

@Flithor
Please try the latest fix 21.5.1.
Aspose.Cells21.5.1 For .Net2_AuthenticodeSigned.Zip (5.5 MB)
Aspose.Cells21.5.1 For .Net4.0.Zip (5.5 MB)
Aspose.Cells21.5.1 For .NetStandard20.Zip (5.5 MB)

confirm it fixed

@Flithor,
Thanks for the feedback. Should you have any query or issue with Aspose.Cells, feel free to contact us, we will be happy to assist you soon.

The issues you have found earlier (filed as CELLSNET-48072) have been fixed in this update. This message was posted using Bugs notification tool by simon.zhao