The chart in excel doesn't match the chart saved as an image

Hello,

I am trying to extract a chart from excel and save it as an image without changing any styles, but there is some formatting differences in the date field and at the bottom of the chart. Is this a bug in apose.cells?

Code snippet:

Workbook workbook = new Workbook(new FileInputStream("C:\\chart.xlsx"));
Chart chart = workbook.getWorksheets().get(0).getCharts().get(0);
chart.toImage("C:\\chart.png");

Chart difference:
chart.png (51.2 KB)

Excel:
chart.7z (14.7 KB)

@dfinsolutions,

Thanks for the template Excel file and screenshot.

After initial testing, I was able to reproduce the issue as you mentioned by using your template file and sample. I found the chart in Excel doesn’t match the chart saved as an image by Aspose.Cells for Java.

We require thorough evaluation of the issue. We have opened the following new ticket(s) in our internal issue tracking system and will deliver their fixes according to the terms mentioned in Free Support Policies.

Issue ID(s): CELLSJAVA-46172

You can obtain Paid Support Services if you need support on a priority basis, along with the direct access to our Paid Support management team.

Hi @dfinsolutions
For this issue, our optimized result is as follows, which will take effect in version 24.12. It is expected to be released at the beginning of next month.
241119.png (2.7 KB)