# Apexcharts how to add js scripts

**URL:** https://discourse.nodered.org/t/apexcharts-how-to-add-js-scripts/49825
**Category:** General
**Created:** [17 August 2021 08:40 UTC](https://discourse.nodered.org/t/apexcharts-how-to-add-js-scripts/49825 "2021-08-17T08:40:13Z")
**Posts on this page:** 1
**Showing post:** 9

<div class="post-metadata">

### Author: ![UnborN](https://avatars.discourse-cdn.com/v4/letter/u/4491bb/32.png) [@UnborN](https://discourse.nodered.org/u/UnborN)
#### Post date: [18 August 2021 12:41 UTC](https://discourse.nodered.org/t/apexcharts-how-to-add-js-scripts/49825/9 "2021-08-18T12:41:34Z")

</div>

> [@nerevar](#):
>
> The charts now loads immediatelly after redeploy.

By the way i later noticed that the NR dashboard theme was overriding the chart's svg fill css property.  
If you have this problem also, set in the dashboard Options to use **Angular theme**. ([source](https://discourse.nodered.org/t/fontawesome-icon-with-incorrect-color/16521/6))

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/6/563503bec63bb7cd127c1a4b37cb62fe20e7efc0.png) ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/5/159f4614bafd9a0404953c19fe190d19d72fbd8a.png)

> [@nerevar](#):
>
> How to make it appear only on my input?

Select the _ui\_template_ node in its Help tab the 2nd example code snippet, describes how you can `$watch` for incoming msgs. If you send a msg (to ui\_template) that has the same structure as your chart's `options` then it will be more easy to create and render a new chart with every new set of data.

---

_[View the full topic](https://discourse.nodered.org/t/apexcharts-how-to-add-js-scripts/49825)._
