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

Free Support Forum - aspose.com

Convert excel to html, the datalabels display errors

Hello,
when I convert excel to html, the datalabels only show one. the data of datalabels from cellrange.
I have try datalabels.setlinkedsource and datalabels.setshowcellrange(true). but it not work.
Can you help me, please?
I am using aspose-cells-20.12
code show as below:

Workbook workbook = new Workbook("test-5.xlsx");
workbook.save("test.html");

result.zip (153.7 KB)

@xuerui,

Thanks for the template XLSX file.

Please notice, I am able to reproduce the issue as you mentioned by converting your template file to HTML. I found, in the rendered chart, only one data labels is shown. I have logged a ticket with an id “CELLSJAVA-44969” for your issue. We will look into it soon.

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

Hi @xuerui
This issue has been resolved and will take effect in the next release(22.12).
Attached are the newly generated PNG and HTML files:
ResultFiles.zip (11.8 KB)