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

Free Support Forum - aspose.com

X axis scale interval is changed in Chart's PDF


I am using Aspose.Cells v8.6.2.1 to generate PDF of Chart 1 in the attached excel file. In the PDF output X-axis scale interval is changed and hence, X-axis labels display incorrectly.

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("Chart 1");

Can you please analyse this issue.


Hi Neha,

Thank you for contacting Aspose support.

We have evaluated the scenario while using the latest version of Aspose.Cells for Java and we are able to replicate the said problem, that is; in rendered PDF the scale for X-Axis has changed. We have logged this incident as CELLSJAVA-41613 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-41613.

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

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