# Migration to DB 2.0 charts not rendering

**URL:** <https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919>\
**Category:** General\
**Tags:** dashboard-2\
**Created:** [11 March 2025 13:17 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919 "2025-03-11T13:17:55Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [11 March 2025 13:17 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/1 "2025-03-11T13:17:55Z")

</div>

I migrated must of my stuff to DB 2.0 and now - very late - I noticed that the chart will not be rendered when the page containing the chart is not opened. I guess that was a design decision but is there no way to come around ? I am now forced to store everything in files or databases (even more effort than the migration was).

---

<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:** [11 March 2025 13:23 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/2 "2025-03-11T13:23:29Z")

</div>

> [@WhiteLion](#):
>
> I noticed that the chart will not be rendered when the page containing the chart is not opened.

Can you explain further please? Perhaps a gif or screenshots might help?

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [11 March 2025 13:33 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/3 "2025-03-11T13:33:42Z")

</div>

of course. I noticed that my chart starts drawing values only when the dashboard is opened. then I asked chat GPT telling me this behavior is coming along with DB 2.0. In the screenshot you can see the moment when I opened the page:

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/1/d/1db8a64d56cf0365ffb6fe84e12ad2713674958d.png)

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [11 March 2025 13:48 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/4 "2025-03-11T13:48:26Z")

</div>

Doesn't the node's caching store the sent data? It needs to because otherwise a new connection will never get any of the existing data.

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [11 March 2025 13:59 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/5 "2025-03-11T13:59:42Z")

</div>

I am not sure. How can I see if node's caching store the sent data ?

---

<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:** [11 March 2025 14:35 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/6 "2025-03-11T14:35:54Z")

</div>

i assume you were feeding values into the chart at all times (before the page was opened/selected) right?

If yes, then this might be a bug.

What happens if you switch away for 2 mins then switch back?

---

<div class="post-metadata">

**Author:** ![WhiteLion](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/whitelion/32/12266_2.png) [@WhiteLion](https://discourse.nodered.org/u/WhiteLion)\
**Post date:** [11 March 2025 22:33 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/7 "2025-03-11T22:33:39Z")

</div>

ok, that was clear explained. I think you could be right with your theory. I can test it with chart data tomorrow.

While we are talking I noticed a similar problem:  
I ve play audio node with a sound when an new object appears in my alerts table (screenshot).

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/3/43c2b03af4e0f1055a54821a7a094d427ed8f2d8.png)

All sounds will be delayed and played in a row when re visiting the Dashboard again. The will not be played at the time when the play audio node gets the signal ("Alert Date" Screenshot)

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/a/da0a0cd3460673c48ef6f359c7ab592b63f62519.png)

---

<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:** [9 June 2025 22:33 UTC](https://discourse.nodered.org/t/migration-to-db-2-0-charts-not-rendering/95919/8 "2025-06-09T22:33:54Z")

</div>

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