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

Free Support Forum - aspose.com

Chart miss some setting in clone workbook

Workbook w = new Workbook("C:/测算分析.xlsx");
Workbook wb = new Workbook();
wb.copy(w);
wb.copyTheme(w);
ChartCollection charts = wb.getWorksheets().get(0).getCharts();
for (int i = 0; i < charts.getCount(); i++) {
Chart chart = charts.get(i);
SeriesCollection nSeries = chart.getNSeries();
for (int j = 0; j < nSeries.getCount(); j++) {
Series series = nSeries.get(j);
//series.getDataLabels().setPosition(3);
}
}
wb.save("C:/测算分析2.xlsx");

Xlsx missing ErrorBar

And if Uncomment series.getDataLabels().setPosition(3); MS Excel 2013 will occur a warning when open 测算分析2.xlsx

Hi Xiong,


Thank you for sharing the sample.

We have evaluated both presented scenarios while using the latest revision of Aspose.Cells for Java 8.7.1.3 and we are able to notice the said issue. Please find below the ticket details for your reference.

  1. CELLSJAVA-41784: Error Bar is missing from chart while copying Workbook
  2. CELLSJAVA-41785: Spreadsheet becomes corrupted after copying the Workbook and setting the DataLabel’s position

Please spare us little time to properly analyze these scenarios and get back with updates in this regard.

Hi,

Thanks for your using Aspose.Cells.

We have fixed the issues CELLSJAVA-41784 and CELLSJAVA-41785.

Please download and try the latest fix: Aspose.Cells for Java v8.7.2.4 and let us know your feedback.

The issues you have found earlier (filed as CELLSJAVA-41785;CELLSJAVA-41784) have been fixed in this update.


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