Free Support Forum - aspose.com

Excel is not being able to render charts when converted to HTML

Hi team,

Currently, I am facing a new problem converting xslm file (with charts) for html.
In the attachment folder you will be able to see a report xlsm with charts generated on the worksheet.
However, when I generate the htm file, the report does not contain the chart.
However, I am able to see the chart as a png image.

Is it possible to incorporate the image on the html page?

Best regards,
André Fernandes RodriguesDEMO-23.fld.zip (109.3 KB)

@Andre87,

Thanks for the template file and output HTML.

I tested your scenario/ case using the following sample code with Aspose.Cells for Java v20.5 (latest version) and it works fine and the output (attached) is ok:
e.g
Sample code:

Workbook workbook = new Workbook("f:\\Files\\DEMO-23.fld\\DEMO-23.xlsm");
		workbook.save("f:\\Files\\DEMO-23.fld\\out.html", SaveFormat.HTML);

Please try our latest version/fix. If you still find any issue with Aspose.Cells for Java v20.5, kindly do provide your sample code (runnable) to reproduce the issue, we will check it soon.
files1.zip (22.5 KB)