Hello,
I am using Aspose.Cells v8.7.0.4 to generate PDF of chart - "WE BDE Dem 2" in the attached excel file. In the PDF output, the position, length and thickness of lines is not same as that in actual chart and all the lines are detached from the chart area. The lines should appear same as they are appearing in actual chart.
Following code is used to generate the output:
void chartToPDF() throws Exception {
Workbook workbook = new Workbook("test.xlsx");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Sheet1";
Chart chart = ws.get(worksheetName).getCharts().get("WE BDE Dem 2");
chart.toPdf("D:\\response_8.7.0.4.pdf");
}
I have attached Excel generated Pdf and Aspose generated Pdf along with a screenshot comparing both.
Can you please analyse this issue.
Thanks,
Neha