Content missing when generating Excel Chart's PDF

Hello,

I am using Aspose.Cells v17.4.0 to generate PDF of chart - "NAM PVC DEM" in the attached excel file. In the PDF output, some of the content is missing.

Following code is used to generate the output:

Workbook workbook = new Workbook("test.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "NAM Graphs";
Chart chart = ws.get(worksheetName).getCharts().get("NAM PVC DEM");
chart.toPdf("D:\\aspose generated 17.4.0.pdf");

Can you please analyse this issue.

Thanks,
Neha

Hi,


Thanks for your posting and considering Aspose.Cells.

We were able to observe this issue and logged it in our database for a fix.

This issue has been logged as

  • CELLSJAVA-42270 - Content is missing when Excel Chart is converted to Pdf

Java
Workbook wb = new Workbook(dirPath + “test.xlsx”);
wb.calculateFormula();

Worksheet ws = wb.getWorksheets().get(1);

Chart ch = ws.getCharts().get(0);
ch.calculate();
ch.toPdf(dirPath + “chartOutput.pdf”);

Hi,

Please try our latest version/fix: Aspose.Cells for Java v17.5.5

Your issue (logged earlier as "CELLSJAVA-42270") should be fixed in it.

Let us know your feedback.

Thank you.

The issues you have found earlier (filed as CELLSJAVA-42270) have been fixed in Aspose.Cells for Java 17.6.


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

The issues you have found earlier (filed as ) have been fixed in this update. This message was posted using BugNotificationTool from Downloads module by MuzammilKhan