# Dashboard2 ui-chart timeseries colors

**URL:** <https://discourse.nodered.org/t/dashboard2-ui-chart-timeseries-colors/87893>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [12 May 2024 14:00 UTC](https://discourse.nodered.org/t/dashboard2-ui-chart-timeseries-colors/87893 "2024-05-12T14:00:32Z")\
**Posts on this page:** 2\
**Page:** 2

<div class="post-metadata">

**Author:** ![arturv2000](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/arturv2000/32/88724_2.png) [@arturv2000](https://discourse.nodered.org/u/arturv2000)\
**Post date:** [14 May 2024 21:01 UTC](https://discourse.nodered.org/t/dashboard2-ui-chart-timeseries-colors/87893/21 "2024-05-14T21:01:04Z")

</div>

Sorry, only now I remember to do a small test

And if I have a chart receiving data from two inject nodes.

Even if I refresh the page the old data is still there, and the new data is added normally.

The chart will receive a message with "history" uppon loading from the `store`. As long i don't send a message with empty payload to clear the chart.

Just a edit, to avoid multiple posts.

I am able to have the same behavior.  
The issue is that upon page refresh or change tab, there is a chance that the chart receives first a message from the inject node (with just a single series) before receiving the message with the previous history:

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

This was after a page refresh, first is received the message for topic "Kitchen" and only after that is received the message with the history (the large message with size of 13696bytes).

Even using the ui-control/ui-event may not be sufficient to avoid this behaviour consistently

---

<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:** [13 June 2024 21:01 UTC](https://discourse.nodered.org/t/dashboard2-ui-chart-timeseries-colors/87893/22 "2024-06-13T21:01:09Z")

</div>

Closed on 13 June 2024 21:01 UTC

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

[Previous page](https://discourse.nodered.org/t/dashboard2-ui-chart-timeseries-colors/87893.md?page=1)
