# Ui gauge type level not showing

**URL:** https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082
**Category:** Dashboard
**Created:** [29 July 2021 14:42 UTC](https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082 "2021-07-29T14:42:13Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![nonix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nonix/32/31739_2.png) [@nonix](https://discourse.nodered.org/u/nonix)
#### Post date: [29 July 2021 14:42 UTC](https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082/1 "2021-07-29T14:42:13Z")

</div>

hi guys, I have this simple demo flow, but I can't get ui-gauge of type:level to work. However, the type:gauge works just fine - as expected.  
am I doing something wrong or misunderstood the settings?

```auto
[
    {
        "id": "c93ec0f3.64b248",
        "type": "tab",
        "label": "Flow 1",
        "disabled": false,
        "info": ""
    },
    {
        "id": "1a2a1fc8.1ef2f",
        "type": "inject",
        "z": "c93ec0f3.64b248",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "50",
        "payloadType": "num",
        "x": 170,
        "y": 140,
        "wires": [
            [
                "b3c96660.7443a"
            ]
        ]
    },
    {
        "id": "d8ef78de.c2d998",
        "type": "inject",
        "z": "c93ec0f3.64b248",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "30",
        "payloadType": "num",
        "x": 170,
        "y": 200,
        "wires": [
            [
                "b3c96660.7443a"
            ]
        ]
    },
    {
        "id": "a61b49ee.13449",
        "type": "inject",
        "z": "c93ec0f3.64b248",
        "name": "",
        "props": [
            {
                "p": "payload"
            }
        ],
        "repeat": "",
        "crontab": "",
        "once": false,
        "onceDelay": 0.1,
        "topic": "",
        "payload": "15",
        "payloadType": "num",
        "x": 170,
        "y": 260,
        "wires": [
            [
                "b3c96660.7443a"
            ]
        ]
    },
    {
        "id": "b3c96660.7443a",
        "type": "ui_gauge",
        "z": "c93ec0f3.64b248",
        "name": "",
        "group": "fc08b77d.62707",
        "order": 4,
        "width": 0,
        "height": 0,
        "gtype": "wave",
        "title": "",
        "label": "L",
        "format": "{{value|number:1}}L",
        "min": 0,
        "max": "50",
        "colors": [
            "#00b500",
            "#e6e600",
            "#ca3838"
        ],
        "seg1": "",
        "seg2": "",
        "x": 370,
        "y": 200,
        "wires": []
    },
    {
        "id": "fc08b77d.62707",
        "type": "ui_group",
        "name": "TEST",
        "tab": "8cb81d95.04761",
        "order": 2,
        "disp": true,
        "width": "6",
        "collapse": false
    },
    {
        "id": "8cb81d95.04761",
        "type": "ui_tab",
        "name": "Home",
        "icon": "SONOFFTH",
        "order": 5,
        "disabled": false,
        "hidden": false
    }
]

```

It always results in this:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/d/6d2efe37ddbf4e1ceb775c9d0b4e772787fe179b.png)

... and 'm sorry if this is not the right place to ask this.

Thank you,  
N.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [29 July 2021 14:47 UTC](https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082/2 "2021-07-29T14:47:18Z")

</div>

Just remove the "L" from the value format

```auto
{{value | number:1}}

```

It takes the unit from unit field

---

<div class="post-metadata">

### Author: ![nonix](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/nonix/32/31739_2.png) [@nonix](https://discourse.nodered.org/u/nonix)
#### Post date: [29 July 2021 15:03 UTC](https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082/3 "2021-07-29T15:03:44Z")

</div>

Wow, so simple 😳. Thank you so much for helping!  
N.

---

<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: [12 August 2021 15:04 UTC](https://discourse.nodered.org/t/ui-gauge-type-level-not-showing/49082/4 "2021-08-12T15:04:16Z")

</div>

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