Legends are cut in Chart's PDF

Hello,

I am using Aspose.Cells v8.7.1.4 to generate PDF of chart - Chart 1 in the attached excel file. In the PDF output, the last legend is cut. The legend should appear properly.

Following code is used to generate the output:

Workbook workbook = new Workbook("test.xlsm");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Charts";
Chart chart = ws.get(worksheetName).getCharts().get("Chart 1");
chart.toPdf("D:\\response_8.7.1.4.pdf");

I have attached Excel generated Pdf and Aspose generated Pdf along with a screenshot comparing both.

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the sample spreadsheet.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java 8.7.1.4, and we are able to replicate the said issue on our side. This incident has been logged as CELLSJAVA-41798 in our bug tracking system. Please spare us little time to properly analyze the scenario and get back with updates in this regard.

Hi,

Thanks for your using Aspose.Cells.

Please download and try the latest fix: Aspose.Cells for Java v8.7.2.5 and let us know your feedback.

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


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