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

Free Support Forum - aspose.com

Positive valued bars are appearing below the 0-value x-axis rule in Chart's PDF


I am using Aspose.Cells v8.7.0.4 to generate PDF of chart - Chart 5 in the attached excel file. In the PDF output, all the positive valued bars are appearing below the 0-value x-axis rule.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook("test.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Chart Tab";
Chart chart = ws.get(worksheetName).getCharts().get("Chart 5");

I have attached Excel generated Pdf and Aspose generated Pdf along with a screenshot comparing Aspose Generated PDF with the actual chart.

Can you please analyse this issue.

Hi Neha,

Thank you for sharing the samples.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java, and we are able to replicate the said issue on our side. In order to further investigate the matter, we have logged this incident as CELLSJAVA-41757. Please spare us little time to properly analyze the scenario and get back to you with updates in this regard.


Is there any update on this issue?

Hi Neha,

I am afraid, we haven't received updates regarding the ticket CELLSJAVA-41757, however, we have requested the concerned member of the product team to share an estimated release schedule for the fix. As soon as we get any news in this regard, we will post here for your kind reference.


Thanks for your using Aspose.Cells.

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

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

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