# Why does ui-chart send an output on deploy?

**URL:** https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223
**Category:** Dashboard
**Created:** [30 June 2020 11:45 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223 "2020-06-30T11:45:56Z")
**Posts on this page:** 5
**Page:** 3

<div class="post-metadata">

### Author: ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)
#### Post date: [1 July 2020 10:53 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223/42 "2020-07-01T10:53:43Z")

</div>

Excellent, thanks.

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [1 July 2020 12:19 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223/43 "2020-07-01T12:19:13Z")

</div>

Hopefully the changes @dceejay has made will clear up some of the 'extra' msgs in my tests

Start NR pointing at a new flow

1. open dashboard.
2. open debug in sidebar, then open it in a new window (button bottom right)
3. open a new browser window and open the UI (example [http://localhost:1880/ui](http://localhost:1880/ui))

- ignore warning message in debug

1. add an `inject`, `chart`, and `debug` node
  - set `chart` to use the default group and tab
  - connect `chart` =\> `debug`
  - set `debug` to display complete msg object

2. deploy - debug shows (2) empty msg
3. connect `inject` to `chart` and deploy - debug shows (4) empty msg
4. remove the `inject` to `chart` wire and deploy - debug shows (4) empty msg

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [1 July 2020 12:23 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223/44 "2020-07-01T12:23:29Z")

</div>

feel free to try it...

```auto
cd ~/.node-red
npm i node-red/node-red-dashboard

```

restart, flush browser, etc

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [1 July 2020 12:30 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223/45 "2020-07-01T12:30:59Z")

</div>

That works great, none of my test cases show an empty msg occurring 👍

---

<div class="post-metadata">

### Author: ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)
#### Post date: [31 July 2020 12:31 UTC](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223/46 "2020-07-31T12:31:01Z")

</div>

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

[Previous page](https://discourse.nodered.org/t/why-does-ui-chart-send-an-output-on-deploy/29223.md?page=2)
