Hello,
I am using Aspose.Cells v8.7.0.4 to generate PDF of chart - M-BDWEUS in the attached excel file. In the PDF output, legends have reorganized their positions. They are displayed as a vertical list in actual chart, but in PDF output they are not appearing as a vertical list.
Following code is used to generate the output:
void chartToPDF() throws Exception {
Workbook workbook = new Workbook("Legend reorganised.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Chart";
Chart chart = ws.get(worksheetName).getCharts().get("M-BDWEUS");
chart.toPdf("D:\\response_8.7.0.4.pdf");
}
I have attached Aspose generated Pdf along with a screenshot comparing it with actual chart.
Can you please analyse this issue.
Thanks,
Neha