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

Free Support Forum - aspose.com

Angle of chart-labels is incorrect in Chart's PDF

Hello,

I am using Aspose.Cells v8.7.2 to generate PDF of chart - "Char 1" in the attached excel file. In the PDF output, the angle of X-axis labels is incorrect. The labels in Aspose generated PDF are straight (90 degree angle) while they are slanting in the actual chart.

Following code is used to generate the output:

void chartToPDF() throws Exception {
Workbook workbook = new Workbook("test.xlsm");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Sheet1";
Chart chart = ws.get(worksheetName).getCharts().get("Chart 1");
chart.toPdf("D:\\response_8.7.2.pdf");
}

I have attached Excel generated Pdf and Aspose generated Pdf along with a screenshot of the issue.

Can you please analyse this issue.

Thanks,
Neha

Hi Neha,


Thank you for sharing the sample spreadsheet.

We have evaluated the presented scenario while using the latest version of Aspose.Cells for Java 8.7.2 and we are able to observe the said issue. In order to further investigate the matter, we have logged this incident as CELLSJAVA-41800 in our bug tracking system. Please spare us little time to properly analyze the problem and revert back with updates in this regard.

Hi,

Thanks for your using Aspose.Cells.

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

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


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