Hello,
I am using Aspose.Cells v17.4.0 to generate PDF of charts - "Chart 1" and "Chart 2" in the attached excel file. The PDF output is not same as the actual charts. The same is true for other formats also like PNG, SVG etc.
Chart 1:
Some labels are overlapping with chart area, some are overlapping with each other, there are label lines in output which do not exist in actual chart, and the space between the labels is slightly reduced.
Chart 2:
The label lines are shorter than in actual chart and the distance between the labels and chart area is reduced. Some labels are overlapping with the chart area.
The output should look exactly the same as the actual chart. This is a customer reported issue, so its critical for us. Can you please look into this on priority.
Following code is used to generate the output:
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:\\Chart 1 aspose generated-17.4.0.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