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

Free Support Forum - aspose.com

Get chart point position wrong

Workbook wb = new Workbook("C:/P.xlsx");
ChartCollection charts = wb.getWorksheets().get(0).getCharts();
Chart chart1 = charts.get(1);
chart1.calculate();
ChartPointCollection points1 = chart1.getNSeries().get(0).getPoints();
ChartPoint p = points1.get(0);
System.out.println(chart1.getName() + ":" + p.getShapeXPx() + ":" + p.getShapeYPx() + "@" + p.getXValue() + p.getYValue());




ShapeXPX and ShapeYPx are 0

Hi Xiong,


Thank you for sharing the sample spreadsheet and code.

I have raised an investigative ticket CELLSJAVA-42070 to look further into this matter as I was able to observe the same results while using Aspose.Cells for Java 16.11.0. Please spare us little time for the analysis. In the meanwhile, we will keep you posted with updates in this regard.

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


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