I am using Aspose.Cells v17.8.7 to generate PDF and PNG of chart - “Chart” in the attached excel file. The output is not same as the actual chart. The chart area and labels are rendered incorrectly.
Following code is used to generate the output:
Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Sheet”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart”);
chart.toPdf(“aspose response 17.8.7.pdf”);
PFA below the source excel and pdf and png outputs:
attachments.zip (189.3 KB)
Can you please analyse this issue.