# Apache eCharts: example for a custom chart

**URL:** <https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [12 September 2025 12:12 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028 "2025-09-12T12:12:49Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![m-schaeffler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/m-schaeffler/32/55123_2.png) [@m-schaeffler](https://discourse.nodered.org/u/m-schaeffler)\
**Post date:** [12 September 2025 12:12 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028/1 "2025-09-12T12:12:49Z")

</div>

Will you also provide there an example for a custom chart with Apache eCharts?

Currently in the doc there is still the example with the old lib.

---

<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:** [12 September 2025 12:17 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028/2 "2025-09-12T12:17:18Z")

</div>

there are already [some examples](https://discourse.nodered.org/search?q=%40steve-mcl+%23dashboard-2+echart) on the forum that import echarts via a CDN. e.g. [this one](https://discourse.nodered.org/t/how-to-configure-echarts-in-dashboard-2/87259/4) by me!

@joepavitt Do we export echarts for user consumption in the template node?

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [12 September 2025 12:22 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028/3 "2025-09-12T12:22:31Z")

</div>

> [@Steve-Mcl](#):
>
> Do we export echarts for user consumption in the template node?

Not currently, but there is good reason to. Open an issue?

---

<div class="post-metadata">

**Author:** ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)\
**Post date:** [12 September 2025 13:38 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028/4 "2025-09-12T13:38:32Z")

</div>

> [@Steve-Mcl](#):
>
> Do we export echarts for user consumption in the template node?

Would this avoid having to load eCharts from a CDN? If so, then that may be a good reason (maybe?)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [12 October 2025 13:39 UTC](https://discourse.nodered.org/t/apache-echarts-example-for-a-custom-chart/99028/5 "2025-10-12T13:39:31Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
