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

Free Support Forum - aspose.com

X axis is in front of chart content in Chart's PDF


I am using Aspose.Cells v8.6.2.1 to generate PDF of chart - M-ETBEMar in the attached excel file. In the PDF output, the horizontal grid-line corresponding to the label - 0 on y-axis is in front of the chart content, while it should have been behind the chart content.

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";
Chart chart = ws.get(worksheetName).getCharts().get("M-ETBEMar");

Can you please analyse this issue.


Hi Neha,

Thank you for sharing the sample spreadsheet.

We are able to replicate said problem on our side while using the latest revision of Aspose.Cells for Java therefore we have logged it as CELLSJAVA-41610 for further investigation. Our product team will further look into the details of this problem and we will keep you updated on the status of correction. We apologize for your inconvenience.


Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41610.

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

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

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