Thanks for your posting and using Aspose.Cells.
We were able to observe this issue after executing the following code using the latest version: Aspose.Cells for Java (Latest Version). Chart.getName() is returning the wrong chart name. It is returning “Chart 1” as chart name, it should return "MyChartSheet"
have logged this issue in our database for investigation. We will look
into it and fix this issue. Once, the issue is resolved or we have some
other update for you, we will let you know asap.
This issue has been logged as CELLSJAVA-40956.
Workbook workbook = new Workbook(filePath);
Worksheet worksheet = workbook.getWorksheets().get("MyChartSheet");
Chart chart = worksheet.getCharts().get(0);