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