# Gauge changing values on only one gauge

**URL:** <https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711>\
**Category:** Dashboard\
**Created:** [29 April 2020 00:48 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711 "2020-04-29T00:48:02Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beefy\_carrot](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Post date:** [29 April 2020 00:48 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/1 "2020-04-29T00:48:02Z")

</div>

HI! im working with gauges, i got some gauges with different values. some changes based on the input from the user(which works) but when i change min and max values on one gauge. they all change.

How can i mitigate this ?

My code for chaning gauge:

msg.ui\_control = {"min": ming, "max": maxg}

---

<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:** [29 April 2020 08:20 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/2 "2020-04-29T08:20:44Z")

</div>

only send that msg into the one you want to change ?

---

<div class="post-metadata">

**Author:** ![Beefy\_carrot](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Post date:** [29 April 2020 14:38 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/3 "2020-04-29T14:38:11Z")

</div>

yes! i got a function node that is connected with 2 gauges and 2 line charts,they need to be changed separately

---

<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:** [29 April 2020 17:33 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/4 "2020-04-29T17:33:22Z")

</div>

not sure if that is a question... but yes they do.

---

<div class="post-metadata">

**Author:** ![Beefy\_carrot](https://avatars.discourse-cdn.com/v4/letter/b/ccd318/32.png) [@Beefy\_carrot](https://discourse.nodered.org/u/Beefy_carrot)\
**Post date:** [29 April 2020 18:54 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/5 "2020-04-29T18:54:29Z")

</div>

was a question, but understand now 😃 just had to think.

---

<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:** [29 May 2020 18:54 UTC](https://discourse.nodered.org/t/gauge-changing-values-on-only-one-gauge/25711/6 "2020-05-29T18:54:31Z")

</div>

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