I am using Aspose.Cells 17.5.5 to generate PDFs of excel charts.
The size of the chart in output is different from the actual size of the chart. Moreover, the size is inconsistent, i.e., chart size in output is different for different charts even when the charts are of same size in excel.
I have attached two examples for your reference. The examples contain a screenshot comparing PDF outputs of 2 charts which are of almost same size in the excel, but their size in the PDF output is extremely different.
Following code has been used to generate the PDF:
Workbook workbook = new Workbook("Example1_Chart1.xlsm");
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = "Sheet1";
Chart chart = ws.get(worksheetName).getCharts().get("Chart1");
Can you please look into this.