Charts are getting duplicated after opening and saving with with Aspose cells, then closing and viewing in Excel.
Steps to reproduce:
- Unzip and open the attached “Duplicated Charts.xlsx” file in Excel
- Click on the “S2 CHART” tab
- Click on the chart in the top left of the table
- Drag the chart away
- Repeat, and you’ll notice there are 4 charts in total
- Close the file, and open with Aspose Cells in code
- Save the file, then close
- Open the file in Excel, and there will be a fifth chart (everytime Aspose Cells saves the file, a chart is duplicated) image.png (105.8 KB)
The only code needed to reproduce is:
Workbook workbook = new Workbook("Duplicated Charts.xlsx");
workbook.Save("test.xlsx", SaveFormat.Xlsx);
Duplicated Charts.zip (1.7 MB)