# Chart node - set blank label via msg

**URL:** <https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149>\
**Category:** General\
**Created:** [2 April 2023 03:57 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149 "2023-04-02T03:57:09Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [2 April 2023 03:57 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149/1 "2023-04-02T03:57:09Z")

</div>

I have the chart node working great so long as data flows to it. Problem is when the website I'm pulling the data fails, the chart does not reflect this and just keeps the last data displayed. Does anyone know how you can send a msg such that the Chart node will display the "blank label" setting?

---

<div class="post-metadata">

**Author:** ![jbudd](https://avatars.discourse-cdn.com/v4/letter/j/5f8ce5/32.png) [@jbudd](https://discourse.nodered.org/u/jbudd)\
**Post date:** [2 April 2023 07:38 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149/2 "2023-04-02T07:38:27Z")

</div>

Pass the data through a trigger node set to send an empty array after a timeout period.

 ![Untitled 1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/9/b9c4cebbd99d4dc65eb13343d922368a3644108e.jpeg)

---

<div class="post-metadata">

**Author:** ![k5map](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/k5map/32/47681_2.png) [@k5map](https://discourse.nodered.org/u/k5map)\
**Post date:** [2 April 2023 12:17 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149/3 "2023-04-02T12:17:42Z")

</div>

I was sending a "null" msg.payload but once I changed it to an empty array, it worked. Thanks!

---

<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:** [16 April 2023 12:18 UTC](https://discourse.nodered.org/t/chart-node-set-blank-label-via-msg/77149/4 "2023-04-16T12:18:36Z")

</div>

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