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

Free Support Forum - aspose.com

Labels are incorrectly shown in Chart's PDF

Hello,

I am using Aspose.Cells v8.6.2.4 to generate PDF of chart - Chart 1 in the attached excel file. In the PDF output, the labels are shown 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 = "ChartTables";
Chart chart = ws.get(worksheetName).getCharts().get("Chart 1");
chart.toPdf("D:\\test.pdf");
}

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the sample spreadsheet.

Please note, in some cases Aspose.Cells APIs cannot produce results identical to Excel. Such as in this case, the axis labels have rendered tilted to accommodate the text of the labels. Anyway, we have logged an investigative ticket to see if this behaviour can be improved to match Excel results. The ticket Id for your future reference is CELLSJAVA-41644. Please allow us some time to properly analyze the scenario and get back to you with updates in this regard.

Hi agian,

This is to update you that we have fixed the problem logged earlier as CELLSJAVA-41644. We will shortly provide the fix here after ensuring the quality & incorporating other enhancements.

Hi,

Thanks for using Aspose.Cells.

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

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


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