# Control color boundaries from msg

**URL:** <https://discourse.nodered.org/t/control-color-boundaries-from-msg/33927>\
**Category:** Dashboard\
**Created:** [8 October 2020 08:05 UTC](https://discourse.nodered.org/t/control-color-boundaries-from-msg/33927 "2020-10-08T08:05:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![manjha](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/manjha/32/29301_2.png) [@manjha](https://discourse.nodered.org/u/manjha)\
**Post date:** [8 October 2020 08:05 UTC](https://discourse.nodered.org/t/control-color-boundaries-from-msg/33927/1 "2020-10-08T08:05:47Z")

</div>

I m using several gauges on my dashboard, with different colors for the ranges.  
I would like to set the boundaries from an msg value, but somehow cannot get this to work.  
I tried setting msg.low in a function just before the gauge node, and then in the field that sets the boundary limit: {{msg.low}}.  
Just to check if it was set properly, put {{msg.low}} in the label field as well.  
When testing, I can see the value as label, but it isn't picked up as color boundary.  
Am I doing something wrong?

---

<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:** [8 October 2020 09:20 UTC](https://discourse.nodered.org/t/control-color-boundaries-from-msg/33927/2 "2020-10-08T09:20:29Z")

</div>

This doc may help - [https://github.com/node-red/node-red-dashboard/blob/master/config-fields.md](https://github.com/node-red/node-red-dashboard/blob/master/config-fields.md)

---

<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:** [7 November 2020 09:20 UTC](https://discourse.nodered.org/t/control-color-boundaries-from-msg/33927/3 "2020-11-07T09:20:37Z")

</div>

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