Chart to PDF conversion all x-axis labels in MS Excel worksheet chart are missing in Java

Hello,


I am using Aspose.Cells v8.6.2.1 to generate PDF of chart - M-C2Cuts1 in the attached excel file. In the PDF output all x-axis labels are missing.

Following code is used to generate the output:

void chartToPDF() throws Exception {

Workbook workbook = new Workbook(“test.xlsx”);

WorksheetCollection ws = workbook.getWorksheets();

String worksheetName = “GOFER CLF”;

Chart chart = ws.get(worksheetName).getCharts().get(“M-C2Cuts1”);

chart.toPdf(“D:\test.pdf”);

}

Can you please analyse this issue.


Thanks,
Neha

Hi Neha,


Thank you for providing the sample spreadsheet.

We are able to replicate the said problem on our side therefore we have logged it in our database as CELLSJAVA-41609 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.

Hi,

Thanks for using Aspose.Cells.

We have fixed the issue CELLSJAVA-41609.

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


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