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

Free Support Forum - aspose.com

All bars appear below 0 value rule in Chart's PDF


I am using Aspose.Cells v8.6.3 to generate PDF of chart - Test Chart in the attached excel file. In the PDF output, all bars appear below 0 value rule even if they are positive values

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook(“Test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Exhibits”;
Chart chart = ws.get(worksheetName).getCharts().get(“Test Chart”);
chart.toPdf(“D:\Aspose generated Test Chart.pdf”);

Can you please analyse this issue.


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 and we are able to replicate the issue. In order to further investigate the matter, and to provide the fix, we have logged this incident as CELLSJAVA-41669. Please spare us little time for proper analysis. In the meanwhile, we will keep you posted with updates in this regard.


Please try our latest version/fix: Aspose.Cells for Java v8.6.3.6

We have fixed your issue now.

Let us know your feedback.

Thank you

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

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