# DB2 html-template chartjs

**URL:** <https://discourse.nodered.org/t/db2-html-template-chartjs/98712>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [18 August 2025 10:57 UTC](https://discourse.nodered.org/t/db2-html-template-chartjs/98712 "2025-08-18T10:57:20Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [19 August 2025 07:14 UTC](https://discourse.nodered.org/t/db2-html-template-chartjs/98712/11 "2025-08-19T07:14:36Z")

</div>

> [@bakman2](#):
>
> Note the
> 
> > // use DOM element ID - refs will not function properly.
> 
> comment

Curious as to why you say that? In my echarts example [here](https://discourse.nodered.org/t/how-to-configure-echarts-in-dashboard-2/87259/4), ref works fine.

---

_[View the full topic](https://discourse.nodered.org/t/db2-html-template-chartjs/98712)._
