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 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
Workbook wb = new Workbook(dirPath + “test.xlsx”);
Worksheet ws = wb.getWorksheets().get(1);
Chart ch = ws.getCharts().get(0);
ch.toPdf(dirPath + “chartOutput.pdf”);
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.
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.