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

Free Support Forum - aspose.com

Wrong X-axis labels appear in Chart's PDF


I am using Aspose.Cells v8.6.2.1 to generate PDF of chart - M-MTBEMar in the attached excel file. In the PDF output, the X-axis labels are incorrect.

Following code is used to generate the output:

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

Can you please analyse this issue.


Hi Neha,

Thank you for sharing the sample spreadsheet.

We are able to replicate the said problem on our side while using the latest version of Aspose.Cells for Java therefore we have logged it for further investigation under the ticket CELLSJAVA-41618. Please spare us little time to properly analyze the problem cause, and get back to you with updates in this regard.


Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41618.

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-41618) have been fixed in this update.

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