Thanks for your interest in Aspose.Cells
Please also provide the xls/xlsx file having the same chart as shown in the image. We will look into it and provide you code example
Excel file is attached.
Please see the code below. I have changed your line datalabel value -33% to -93% using the following code.
Please see the output xls and screenshot.
String path = “F:\Shak-Data-RW\Downloads\LineChartDataLabels.xls”;
Workbook workbook = new Workbook();
Chart chart = workbook.getWorksheets().getSheet(0).getCharts().getChart(0);
DataLabels point4 = chart.getNSeries().get(0).getChartPoints().getChartPoint(3).getDataLabels();
workbook.save(path + “.out.xls”);
It works unless you specify Excel 2007 as below:
We are using aspose cells 2.4.0_20100823. Do you have any recommendations on how I can troubleshoot the problem with saving workbook for Excel 2007?
Are you saying that the updated version fixes the issue with data labels in XLSX format?