# Chart label disappears when refreshing the browser

**URL:** <https://discourse.nodered.org/t/chart-label-disappears-when-refreshing-the-browser/8278>\
**Category:** Dashboard\
**Created:** [22 February 2019 17:15 UTC](https://discourse.nodered.org/t/chart-label-disappears-when-refreshing-the-browser/8278 "2019-02-22T17:15:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [22 February 2019 17:15 UTC](https://discourse.nodered.org/t/chart-label-disappears-when-refreshing-the-browser/8278/1 "2019-02-22T17:15:34Z")

</div>

I'm trying to use the chart label for displaying the current values of two lines.  
It works but when I refresh the browser the label disappears.

![chartlabel](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/2/2316f0e0d0980d816af7a450ff6b8000f2b73526.png)

![chartconfig](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/2X/8/8a8f7fed8e609a873866c8b9fd20182e9cfbf25b.png)

Browsers: Chrome and iPhone Safari

---

<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:** [22 February 2019 18:11 UTC](https://discourse.nodered.org/t/chart-label-disappears-when-refreshing-the-browser/8278/2 "2019-02-22T18:11:07Z")

</div>

you have to send more data (inc msg.label) to refresh the label. You can use the ui\_control node to be notified if client connects or changes tabs so you can trigger a resend.

---

<div class="post-metadata">

**Author:** ![cflurin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/cflurin/32/29_2.png) [@cflurin](https://discourse.nodered.org/u/cflurin)\
**Post date:** [22 February 2019 18:20 UTC](https://discourse.nodered.org/t/chart-label-disappears-when-refreshing-the-browser/8278/3 "2019-02-22T18:20:37Z")

</div>

I also tried using `msg.topic` (doc example) and of course sending all data but same issue.

Edit:

Ok I've added the ui\_control \> it works
