# Chart showing weird graphs

**URL:** <https://discourse.nodered.org/t/chart-showing-weird-graphs/36434>\
**Category:** Developing Nodes\
**Created:** [24 November 2020 05:29 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434 "2020-11-24T05:29:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [24 November 2020 05:29 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/1 "2020-11-24T05:29:58Z")

</div>

[{"id":"88cf6203.a189f","type":"ui\_chart","z":"48d2a1b1.9516a","name":"","group":"6ff1bfe2.8add3","order":13,"width":18,"height":7,"label":"","chartType":"line","legend":"false","xformat":"HH:mm","interpolate":"bezier","nodata":"","dot":false,"ymin":"10","ymax":"30","removeOlder":"24","removeOlderPoints":"5000","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"colors":["#fdfbfb","#ff0000","#00ff00","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"outputs":1,"x":450,"y":280,"wires":[]},{"id":"6ff1bfe2.8add3","type":"ui\_group","z":"","name":"SENSORS","tab":"b36b6083.a19b1","order":3,"disp":true,"width":"18","collapse":false},{"id":"b36b6083.a19b1","type":"ui\_tab","z":"","name":"SWITCHES","icon":"dashboard","disabled":false,"hidden":false}]

This chart is never right: Y-axis shows all 0:00 (sometimes) and the values for this specific graph seem to show only the last hour or so. I have no idea what is going wrong because half a year ago it still worked fine.

Any ideas on where to start looking?

 ![chart](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/8/885fd4c82b755ce27c2a1883c550d78849a5bf0e.png)

---

<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:** [24 November 2020 07:09 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/2 "2020-11-24T07:09:31Z")

</div>

Have you updated node red or the dashboard recently? If yes then make sure you are now using the latest. Also clear the browser cache and refresh the page.  
Otherwise show us what you are feeding into the chart.

Edit: Also for the future please see this post on how to share flows (and code or logs) here: [How to share code or flow json](https://discourse.nodered.org/t/how-to-share-code-or-flow-json/506/4)

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [24 November 2020 07:42 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/3 "2020-11-24T07:42:31Z")

</div>

I have not updated in a while, Colin. But will do it and then reply again. Regarding "on how to share code or flow json": I will do better next time. Actually, I did have a look and thought I did everything correctly. What was wrong in this specific flow?

---

<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:** [24 November 2020 08:06 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/4 "2020-11-24T08:06:03Z")

</div>

If you haven't updated then you shouldn't need to, since it was working. However this may be a good opportunity to do it anyway. If you are using an old version of node-red then consider upgrading that too, so you have access to the latest improvements.

---

<div class="post-metadata">

**Author:** ![Statler](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/statler/32/32541_2.png) [@Statler](https://discourse.nodered.org/u/Statler)\
**Post date:** [24 November 2020 09:02 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/5 "2020-11-24T09:02:54Z")

</div>

Thanks, Colin. I have updated and upgrade nodered and also the dashboard. I did find a smaller issue with the gateway my machine was using and also fixed that. The result is that the charts are working well again. At least it looks like it is all back to normal.

---

<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:** [24 November 2020 09:36 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/6 "2020-11-24T09:36:55Z")

</div>

Excellent.

---

<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:** [8 December 2020 09:36 UTC](https://discourse.nodered.org/t/chart-showing-weird-graphs/36434/7 "2020-12-08T09:36:58Z")

</div>

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