We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

After excel is converted to HTML, the effect of histogram in html is different from that in Excel

I used the Aspose interface to convert static Excel to HTML, and found that the effect of histogram in html is different from that in Excel
histogram excel.png (57.9 KB)
histogram html.png (32.9 KB)

java code:
Workbook workbook = new Workbook(“dir//3333.xlsx”);
workbook.save(“dir//3333.html”, SaveFormat.HTML);

here is excel file
3333.zip (14.5 KB)

@xhaixia,

After an initial test, I am able to reproduce the issue as you mentioned by converting your template file to HTML. I found histogram chart is not rendered properly in XLSX to HTML conversion. I have logged a ticket with an id “CELLSJAVA-43795” for your issue. We will look into it soon.

Once we have an update on it, we will let you know.

@xhaixia,

We include some improvements regarding your issue in our latest version. We have published our next official release (Aspose.Cells for Java v21.10) of the product, so you may get and try it from Downloads/Maven repos.