Appearance of Chart content in PNG output is different from original

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

Hi,


Thanks for providing us template file and screenshot(s).

See the document for supported/unsupported chart types for rendering:

I am afraid, currently 3D bubble charts are rendered as 2D in the output PDF/image. We have already logged a ticket with an id “CELLSJAVA-40410” for it. Once we figure it out, we will let you know here.

Thank you.