Workbook wb = new Workbook("C:/ABC.xlsx");
SeriesCollection nSeries = wb.getWorksheets().get(0).getCharts().get(0).getNSeries();
DataLabels dataLabels = nSeries.get(0).getDataLabels();
dataLabels.setPosition(dataLabels.getPosition());
wb.save("C:/ABC2.xlsx");
I use 8.7.2.2 , and ABC2.xlsx open will occur an error.