# Node Red chart / site is probably hanging on to many data?

**URL:** <https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885>\
**Category:** General\
**Created:** [2 March 2021 10:31 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885 "2021-03-02T10:31:12Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![F\_R](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@F\_R](https://discourse.nodered.org/u/F_R)\
**Post date:** [2 March 2021 10:31 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/1 "2021-03-02T10:31:12Z")

</div>

I receive the weather data via RS485, these are received with Baud19200. I split the data string and display it in a chart. After a few hours, the chart or website UI freezes. Presumably this is due to too many data !?

I would like e.g. Record the weather data for a week (see example). Even an RBE node in between does not help.

Is there a solution for this?

 ![Flow](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/7/97111933b0f6239fbf900b2e327ad454c57ade9b.png) ![chart](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/e/9e22053e31807f29a7e4503989bbd6658e0751d0.png)

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 March 2021 10:48 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/2 "2021-03-02T10:48:35Z")

</div>

> [@F\_R](#):
>
> UI freezes. Presumably this is due to too many data !?

Yes.

In essence, if you push more data than there are pixels in the charts width, you are pushing too much data to chart.

> [@F\_R](#):
>
> Even an RBE node in between does not help.

put an RBE before EVERY chart

* * *

better still, compute hourly averages (or peaks) and use those for your charts.

1 week @ 1 point per hour == 168 points  
or  
1 week @ 1 point per 10m == 1008 points

---

<div class="post-metadata">

**Author:** ![F\_R](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@F\_R](https://discourse.nodered.org/u/F_R)\
**Post date:** [2 March 2021 11:35 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/3 "2021-03-02T11:35:22Z")

</div>

Hello, i want to show the real data from the weatherstation from a week, for example the wind speed change it very fast so i will see the changed values in the chart!?  
If there any other solution to optimate the graph?

What is changd if i set it to 1 week@1 point per 10m==1008 so i get 1008 values for one step in the chart?

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [2 March 2021 11:44 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/4 "2021-03-02T11:44:08Z")

</div>

use a smaller (10m) graph OR simply a gauge for high speed / often changing data

along side a chart showing averaged / slimmed down, long term data.

---

<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:** [2 March 2021 11:45 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/5 "2021-03-02T11:45:06Z")

</div>

That should be ok, provided the browser is running on a PC rather than a Pi 3 for example. You can limit the rate to the chart by using a Delay node set to Rate Limit mode, 'For each message topic` and 'Send All Topics'. Then you can feed all the line data through one rate limit mode as it will limit independently for each topic.

---

<div class="post-metadata">

**Author:** ![F\_R](https://avatars.discourse-cdn.com/v4/letter/f/e99b99/32.png) [@F\_R](https://discourse.nodered.org/u/F_R)\
**Post date:** [2 March 2021 11:50 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/6 "2021-03-02T11:50:53Z")

</div>

Hello, the node red works on the Raspi4 4GB, i use UI on a normaly windows PC. Can you send me a example for your better version/ idea?

---

<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:** [2 March 2021 12:02 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/7 "2021-03-02T12:02:22Z")

</div>

> [@F\_R](#):
>
> Can you send me a example for your better version/ idea?

I don't understand, an example of what? All I am suggesting is to use a Delay node in rate limit mode to limit the rate the data is sent to the chart.

---

<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:** [1 May 2021 12:02 UTC](https://discourse.nodered.org/t/node-red-chart-site-is-probably-hanging-on-to-many-data/41885/8 "2021-05-01T12:02:34Z")

</div>

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