I am using Aspose.Cells v19.1 to generate PNG of chart - “Chart 1” in the attached excel file. Arrows in the PNG output are not matching the arrows in the excel chart.
Following code is used to generate the output:
Workbook workbook = new Workbook(“test.xlsx”); WorksheetCollection ws = workbook.getWorksheets(); String worksheetName = “wo cons charts”; Chart chart = ws.get(worksheetName).getCharts().get(“Chart 1”); ImageOrPrintOptions imgOptions = new ImageOrPrintOptions(); imgOptions.setImageType(ImageType.PNG); chart.toImage(“aspose response 19.1.png”, imgOptions);
PFA below the source excel and PNG output:
attachments.zip (188.5 KB)
Can you please look into this.