# Is this a "bug" with the gauge node?

**URL:** <https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566>\
**Category:** Dashboard\
**Created:** [3 June 2018 04:08 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566 "2018-06-03T04:08:05Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [3 June 2018 04:08 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/1 "2018-06-03T04:08:05Z")

</div>

I have a gauge set as a doughnut.

This is happening now and then with certain values.

Notice how the green is ..... deformed at the end of the end of the arc.

 ![Screenshot%20from%202018-06-03%2014-05-41](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/c145be96199b3497b344e1ca903354886bac6f4a.png)

---

<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:** [3 June 2018 07:43 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/2 "2018-06-03T07:43:06Z")

</div>

Yes, but it will be in the underlying justgage library so would need to be raised there.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [3 June 2018 20:56 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/3 "2018-06-03T20:56:02Z")

</div>

Ok, but where is “there”?

---

<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:** [3 June 2018 21:26 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/4 "2018-06-03T21:26:30Z")

</div>

I find Google very useful

> **[toorshia/justgage](https://github.com/toorshia/justgage)**
>
> JustGage is a handy JavaScript plugin for generating and animating nice & clean dashboard gauges. It is based on Raphaël library for vector drawing. - toorshia/justgage

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [3 June 2018 22:05 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/5 "2018-06-03T22:05:00Z")

</div>

Yes. Ok.

So looking at the link in the reply, may I take it as understood you are the “owner” of said library?

(I am going to have to get set up with github soon, it seems)

---

<div class="post-metadata">

**Author:** ![knolleary](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/knolleary/32/3_2.png) [@knolleary](https://discourse.nodered.org/u/knolleary)\
**Post date:** [3 June 2018 23:08 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/6 "2018-06-03T23:08:41Z")

</div>

No, that library is not ‘owned’ by anyone here.

It would help if you shared some details in how you have that guage configured so we can try to recreate.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [4 June 2018 00:11 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/7 "2018-06-04T00:11:32Z")

</div>

I only asked because when I opened the link and went there I saw a picture the same as the one in the post.

So, if the same picture was on github and the person…

Ah!

Ok. Got it. Sorry. Graph data/settings to come later.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [4 June 2018 01:18 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/8 "2018-06-04T01:18:41Z")

</div>

Ok, this is the code.

Just checked again and it is REAL TIME and happening (again) now.

```auto
[{"id":"eee1874.73656f8","type":"inject","z":"9b7e7466.a4b698","name":"Timer","topic":"","payload":"","payloadType":"date","repeat":"10","crontab":"","once":true,"x":100,"y":80,"wires":[["8f8cb716.58088","4044a197.41b5a8"]]},{"id":"8f8cb716.58088","type":"exec","z":"9b7e7466.a4b698","command":"/opt/vc/bin/vcgencmd measure_temp| sed 's/[^0-9]*//g'","addpay":false,"append":"","useSpawn":"false","timer":"","oldrc":false,"name":"Check Temp","x":250,"y":80,"wires":[["3a4ae1d4.820cce"],[],[]]},{"id":"3a4ae1d4.820cce","type":"function","z":"9b7e7466.a4b698","name":"Make number and set Topic","func":"msg.payload = Number(msg.payload)/10;\nmsg.topic=global.get('myDeviceName');\nmsg.topic =\"TEMP/\" + msg.topic;\nreturn msg;\n","outputs":1,"noerr":0,"x":480,"y":80,"wires":[["5e188813.e8edd","6cdb7a0f.bfd02c","19cb42a6.97bbb5","a6924ea0.caa7e"]]},{"id":"6cdb7a0f.bfd02c","type":"ui_gauge","z":"9b7e7466.a4b698","name":"","group":"b91547a3.789ea","order":1,"width":0,"height":0,"gtype":"donut","title":"Temp","label":"Celcius","format":"{{value}}","min":"10","max":"80","colors":["#00b500","#e6e600","#ca3838"],"seg1":"56","seg2":"60","x":710,"y":120,"wires":[]},{"id":"b91547a3.789ea","type":"ui_group","z":"9b7e7466.a4b698","name":"TelePiTelemerty","tab":"6173326e.e27724","order":1,"disp":true,"width":"6"},{"id":"6173326e.e27724","type":"ui_tab","z":"9b7e7466.a4b698","name":"TelePiMain (Local information)","icon":"dashboard","order":5}]

```

Basically I am sending temperature values to the gauge.  
If it is around 37.9 it give this error.

UPDATE  
It starts at 35.4 and ends at about 42.6 as far as I can see.  
I put an slider node and set the range from 0 to 800 with a step of 1.  
So on the slider at about 354 - 426 it happens.

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [4 June 2018 09:30 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/9 "2018-06-04T09:30:32Z")

</div>

So do what Dave told you to do - go to GitHub for the ‘justgage’ library and open an issue. There is nothing more anyone here can do about this.

If you don’t know how to do that, try googling ‘GitHub tutorial’ and learn.

---

<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:** [4 June 2018 10:09 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/10 "2018-06-04T10:09:21Z")

</div>

It might be useful for submitting the issue to know whether it happens with different browsers.

---

<div class="post-metadata">

**Author:** ![Trying\_to\_learn](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/trying_to_learn/32/28400_2.png) [@Trying\_to\_learn](https://discourse.nodered.org/u/Trying_to_learn)\
**Post date:** [4 June 2018 11:02 UTC](https://discourse.nodered.org/t/is-this-a-bug-with-the-gauge-node/566/11 "2018-06-04T11:02:28Z")

</div>

Been, done.

But I had to “join” github first.
