# Gauge data not working

**URL:** <https://discourse.nodered.org/t/gauge-data-not-working/83769>\
**Category:** Dashboard\
**Created:** [16 December 2023 21:57 UTC](https://discourse.nodered.org/t/gauge-data-not-working/83769 "2023-12-16T21:57:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![shaynel2006](https://avatars.discourse-cdn.com/v4/letter/s/e5b9ba/32.png) [@shaynel2006](https://discourse.nodered.org/u/shaynel2006)\
**Post date:** [16 December 2023 21:57 UTC](https://discourse.nodered.org/t/gauge-data-not-working/83769/1 "2023-12-16T21:57:27Z")

</div>

Not sure what I am doing wrong.  
i have a value in the gauge but its showing with extra symbols in the ui

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/a/8ae123a3ffde2ddd8991c478a7233e3dbd8856c3.png)  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/6/8647ce5badb4da2df9beeb440d529b69880bbbd7.png)

could someone please explain, it works fine if i just use a text box.

thankyou

---

<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:** [16 December 2023 23:39 UTC](https://discourse.nodered.org/t/gauge-data-not-working/83769/2 "2023-12-16T23:39:20Z")

</div>

Your payload is an array (with just one element) of objects (with only one, blank key)

```auto
[ 
   { 
      "" : 696.1025
   }
]

```

How does it get in that state?

I suppose you could get msg.payload back to the value 696.1025 by passing it through two split nodes:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/0/e04bfe683cd0fd2631d7685bc83bd258c7a0e78d.png)

Or else fix the source of the data.

---

<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:** [17 December 2023 10:41 UTC](https://discourse.nodered.org/t/gauge-data-not-working/83769/3 "2023-12-17T10:41:11Z")

</div>

Definitely you should fix the source of the data. Having an object with an empty property name will cause you grief.

---

<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 January 2024 10:41 UTC](https://discourse.nodered.org/t/gauge-data-not-working/83769/4 "2024-01-16T10:41:41Z")

</div>

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