Hello,
I am using Aspose.Cells v17.5.6 to generate PNG of chart - “Chart 11” in the attached excel file. The color of the chart content looks different from the original. The shine and shading effects are missing, so the appearance of the chart is different from the original.
Following code is used to generate the PNG:
Workbook workbook = new Workbook(“test.xlsx”);
WorksheetCollection ws = workbook.getWorksheets();
String worksheetName = “Sheet1”;
Chart chart = ws.get(worksheetName).getCharts().get(“Chart 11”);
ImageOrPrintOptions imgOptions = new ImageOrPrintOptions();
imgOptions.setImageFormat(ImageFormat.getPng());
chart.toImage(“aspose response 17.5.6.png”, imgOptions);
Can you please look into this issue.
Thanks,
Neha