We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Bars missing in Bar Chart's PDF output


I am using Aspose.Cells v17.5 to generate PDF of chart - “Chart 1” in the attached excel file. In the PDF output of the bar chart, all the bars are missing.

Following code is used to generate the PDF:

Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Sheet1”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 1”);
chart.toPdf(“D:\aspose generated.pdf”);

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

Can you please look into this issue.



Thanks for your posting and using Aspose.Cells.

We were able to observe this issue and logged it in our database for investigation and for a fix. 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-42301 - Bars are missing in Bar Chart’s Pdf output


Thanks for using Aspose.Cells.

Please download and try the following latest fix: Aspose.Cells for Java v17.5.9 and let us know your feedback.

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

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