# How fast can you update a line chart on the dashboard?

**URL:** <https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404>\
**Category:** Dashboard\
**Created:** [6 July 2018 22:42 UTC](https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404 "2018-07-06T22:42:44Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![elmusico101](https://avatars.discourse-cdn.com/v4/letter/e/d2c977/32.png) [@elmusico101](https://discourse.nodered.org/u/elmusico101)\
**Post date:** [6 July 2018 22:42 UTC](https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404/1 "2018-07-06T22:42:44Z")

</div>

I'm trying to show sensor data as fast as I can ex. 20Hz or 50Hz. Is it possible to update the line chart on the dashboard in realtime? or as soon as the data is transferred to that node?

Thanks!!!

---

<div class="post-metadata">

**Author:** ![davidcgu](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@davidcgu](https://discourse.nodered.org/u/davidcgu)\
**Post date:** [6 July 2018 23:26 UTC](https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404/2 "2018-07-06T23:26:27Z")

</div>

If you wanted something to work very specifically with graphs I think node-red is not your best choice, this is not the main purpose of this.

For sure I mean what is related to handle or display the graphs, it's ok for working with the data.

But wait to someone with more knowledge than me to answer.

Regards

---

<div class="post-metadata">

**Author:** ![SteveMann](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/stevemann/32/3810_2.png) [@SteveMann](https://discourse.nodered.org/u/SteveMann)\
**Post date:** [6 July 2018 23:57 UTC](https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404/3 "2018-07-06T23:57:24Z")

</div>

I am a first year newbie, but the short answer is likely, no. I don't think that Node-Red and Real-time should be used in the same context.  
A lot also depends on what platform you're running Node-Red on. A raspberry pi, or an 8-Core, water-cooled, overclocked beast of a desktop tower. There is also the speed of the channel the data is coming to you.  
But, I'll go with no.

---

<div class="post-metadata">

**Author:** ![Andrei](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/andrei/32/10446_2.png) [@Andrei](https://discourse.nodered.org/u/Andrei)\
**Post date:** [7 July 2018 00:03 UTC](https://discourse.nodered.org/t/how-fast-can-you-update-a-line-chart-on-the-dashboard/1404/4 "2018-07-07T00:03:45Z")

</div>

A single sensor in a single dashboard? Why not? Check this testing flow out (generating data at 50 Hz)

```auto
[{"id":"965a65ee.ffbde8","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"4b1ea540.52486c","type":"inject","z":"965a65ee.ffbde8","name":"","topic":"","payload":"","payloadType":"date","repeat":"0.02","crontab":"","once":true,"onceDelay":0.1,"x":401.1000061035156,"y":209.00000381469727,"wires":[["987c99ff.3b7ba8"]]},{"id":"987c99ff.3b7ba8","type":"change","z":"965a65ee.ffbde8","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload % 10","tot":"jsonata"}],"action":"","property":"","from":"","to":"","reg":false,"x":590.1000518798828,"y":210.00000381469727,"wires":[["276469b9.f4dfe6"]]},{"id":"276469b9.f4dfe6","type":"ui_chart","z":"965a65ee.ffbde8","name":"","group":"57e67e8c.ab3ad","order":0,"width":0,"height":0,"label":"chart","chartType":"line","legend":"false","xformat":"auto","interpolate":"linear","nodata":"","dot":false,"ymin":"","ymax":"","removeOlder":"1","removeOlderPoints":"20","removeOlderUnit":"60","cutout":0,"useOneColor":false,"colors":["#1f77b4","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"useOldStyle":false,"x":763.1000595092773,"y":209.60000228881836,"wires":[[],[]]},{"id":"57e67e8c.ab3ad","type":"ui_group","z":"","name":"Test","tab":"72729c74.fd5e44","disp":true,"width":"6","collapse":false},{"id":"72729c74.fd5e44","type":"ui_tab","z":"","name":"Sandbox","icon":"dashboard"}]

```
