# Hiding parts of the gauge node

**URL:** https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286
**Category:** Dashboard
**Tags:** dashboard-2
**Created:** [31 January 2026 00:28 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286 "2026-01-31T00:28:45Z")
**Posts on this page:** 11
**Page:** 1

<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: [31 January 2026 00:28 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/1 "2026-01-31T00:28:45Z")

</div>

Starting with this gauge

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

I can use CSS

```auto
.nrdb-ui-gauge.noarc svg g#arc {
display: none;
}

```

to get rid of the thick green arc

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/7/774bcccbd2f982e5c92b838dcb9b6b3d6ae562ee.png)

But if I also have

```auto
.nrdb-ui-gauge.noarc svg g#backdrop{
display: none;
}

```

After sending a new payload ,I lose the value, label and units, despite these elements not even being part of the svg.

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

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/3/838c25817167666eee68cec5a9daceeab79975ea.png)

It seems that `.nrdb-ui-gauge-value` acquires `visbility: hidden;`

What am I doing wrong?

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [31 January 2026 08:02 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/2 "2026-01-31T08:02:31Z")

</div>

Was that picture of html taken before or after the div disappeared? I note the div has 0 height and width - may be related...

> [@jbudd](#):
>
> ```auto
> .nrdb-ui-gauge.noarc svg g#backdrop{
> display: none;
> }
> 
> ```

This will remove the element from the dom and not knowing how the labels div position and size is calculated, it may be related. To rule it out, try using `visbility: hidden;` for that instead.

If that doesn't work, share a small repro flow.

---

<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: [31 January 2026 09:18 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/3 "2026-01-31T09:18:36Z")

</div>

That screen capture was after applying display:none to the backdrop (and the contents disappeared).

You are right that for some reason if the backdrop is not displayed, the div nrdb-ui-gauge-value gets height & width 0 as well as visibility: hidden.

Div nrdb-ui-gauge-value normally:

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

And with display: none on the backdrop:

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

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [31 January 2026 09:25 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/4 "2026-01-31T09:25:26Z")

</div>

> [@Steve-Mcl](#):
>
> To rule it out, try using `visbility: hidden;` for that instead

Did you try adjusting your custom style rule to use visibility:hidden instead of display:none?

---

<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: [31 January 2026 09:35 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/5 "2026-01-31T09:35:16Z")

</div>

Visibility: hidden gives the desired result

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

It's not pretty but it does the job 😀

So I suppose that's problem solved, thanks.

I still wonder why display: none does not work.

---

<div class="post-metadata">

### Author: ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)
#### Post date: [2 February 2026 19:31 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/6 "2026-02-02T19:31:51Z")

</div>

> [@jbudd](#):
>
> It's not pretty but it does the job 😀

I'm trying to do something similar, but I want to hide the min/max (my gauge is 2X2 and the min/max overlap with the value). I've tried to find where I could do that, but I can't find the css attribute - would you know?

---

<div class="post-metadata">

### Author: ![gerrybartley](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gerrybartley/32/67495_2.png) [@gerrybartley](https://discourse.nodered.org/u/gerrybartley)
#### Post date: [2 February 2026 20:15 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/7 "2026-02-02T20:15:02Z")

</div>

This should do it

```auto
.nrdb-ui-gauge #limits {
        display: none;
    }

```

---

<div class="post-metadata">

### Author: ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)
#### Post date: [2 February 2026 21:57 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/8 "2026-02-02T21:57:24Z")

</div>

> [@gerrybartley](#):
>
> This should do it

It did! Thanks so much..🙏🏼

---

<div class="post-metadata">

### Author: ![rakgupta](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rakgupta/32/42535_2.png) [@rakgupta](https://discourse.nodered.org/u/rakgupta)
#### Post date: [3 February 2026 16:03 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/9 "2026-02-03T16:03:15Z")

</div>

> [@jbudd](#):
>
> Visibility: hidden gives the desired result

I just found another way to do this.. by setting the gauge size to 0px, it removes the inner "arc"

 ![Screenshot 2026-02-03 at 9.58.59 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/2/6296478f1423313af5b1f0aa677f8c0bf432f987.png)  
 ![Screenshot 2026-02-03 at 9.59.14 AM](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c5506fb0704ee5639060dc7a5ae4e046b9d255ca.png)

NOTE: I am also hiding the needle and the min/max in this gauge via css overrides, but if you only want to hide the "arc" without css, the 0px will also work.

---

<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: [3 February 2026 16:21 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/10 "2026-02-03T16:21:00Z")

</div>

That's a useful trick, thanks.

It does seem like if anyone ever addresses the many shortcomings of the gauge they might consider it a bug and fix it.

I played with other values for this config item. It seems to modify the diameter of the coloured segments and the length of the needle.

---

<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: [17 February 2026 16:21 UTC](https://discourse.nodered.org/t/hiding-parts-of-the-gauge-node/100286/11 "2026-02-17T16:21:04Z")

</div>

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