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

Free Support Forum - aspose.com

Incorrect chart type for some charts

We have the following spreadsheet file: Charts.zip (621.2 KB)
And the following code:

var workbook = new Workbook("Charts.xlsx");

var chart1 = workbook.Worksheets["Chart1"].Charts[0];
var chartType1 = chart1.Type;
// actual: ChartType.RadarWithDataMarkers
// expected: ChartType.Radar

var chart2 = workbook.Worksheets["Sheet9"].Charts[0];
var chartType2 = chart2.Type;
// actual: ChartType.ScatterConnectedByLinesWithDataMarker
// expected: ChartType.ScatterConnectedByLinesWithoutDataMarker

In Aspose.Cells v20.6.0 the chart type of two charts is incorrect. This can be seen by comparing the chart type in Excel (right click » Change Chart Type) with the chart type in the code.

I’m not 100% sure if the rest of the chart types is correct, not all variations have been tested.

@infotron,

Please notice we were able to reproduce the issue as you mentioned by using your sample code with your template file. We found incorrect chart type returned for some charts in the workbook. We have logged a ticket with an id “CELLSNET-47412” for your issue. We will look into it soon.

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

@infotron,
Please try our latest version/fix: Aspose.Cells for .NET v20.6.1:
Aspose.Cells20.6.1 For .Net2_AuthenticodeSigned.Zip (5.4 MB)
Aspose.Cells20.6.1 For .Net4.0.Zip (5.4 MB)

Your issue should be fixed in it.

Let us know your feedback.

I can confirm that this issue is fixed in Aspose.Cells v20.6.2. Thank you!

@infotron,

Good to know that your issue is fixed with the latest fix/version. Feel free to write us back if you need further help or have some other issue or queries, we will be happy to assist you soon.

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