# Again a problem with ui-value-trail

**URL:** https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573
**Category:** Dashboard
**Created:** [13 May 2021 07:25 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573 "2021-05-13T07:25:27Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [13 May 2021 07:25 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/1 "2021-05-13T07:25:28Z")

</div>

Hello,

I think that's a question for @hotNipi. I have now implemented the monitoring system prepared at home on my boat in Croatia and installed the first sensor. Unfortunately the value-trail now loses the max and min values very often. At the attached screen shot only the first gauge works with values from a sensor, all other are still simulated. Max and Min values are lost, but sometimes they appear. The problem does not exist with the simulated values. But they all came from a mosquitto broker. The only difference is that the max and min sensor values are close to each other as the boat is at the pier and has shore power and the chargers are on. For this reason the voltage only fluctuates between 27.6V and 27.8V.

 ![Picture](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/8/b832b929674a3711eadaa6d59aa0cfeef483e26c.jpeg)

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [13 May 2021 08:23 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/2 "2021-05-13T08:23:51Z")

</div>

Min-max has 2 options to choose  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/5/c57a7b4eeeba2166261bda6eca38ea5be01fe66a.png)  
The 'Show by default' indicates initial state (to show them or not) and with 'Allow toggle' option you can allow or restrict to change current state of min-max visibility.

I think the description is not good enough to do any research on topic.  
Can only say that min and max values exist internally cos without them there would be not enough data to draw the line.

So please show the settings you are using for widget and try to figure out what kind of activities you do, or the browser does, or server side does when they disappear (in case they should not) and same for the opposite case.

---

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [13 May 2021 08:59 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/3 "2021-05-13T08:59:04Z")

</div>

'Show by default' and 'Allow toggle' are both on. But it is the same at the simulated values and they work properly. I also didn't understand what "allow toggling" means. Is this supposed to toggle the visibility of max and min on and off? And how is that triggered?

 ![Picture_2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/f/4fe0453e3ab4e763c5a689b5ada80dd3e751e3cf.jpeg)

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [13 May 2021 09:03 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/4 "2021-05-13T09:03:22Z")

</div>

> [@Manfred53](#):
>
> I also didn't understand what "allow toggling" means.

If toggling allowed, click on widget toggles visibility of the min-max fields. If it is not allowed, clicking on widget does not do anything.

---

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [13 May 2021 09:10 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/5 "2021-05-13T09:10:29Z")

</div>

This was the solution. I can toggle it now. Unfortunately this is not described anywhere.  
Thank you for the support.

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [13 May 2021 09:17 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/6 "2021-05-13T09:17:12Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/8/58f85ae2754411cadfa6eab59565fe2781795458.png)

I also see that I haven't created the validation for "points per unit" So it let's you write what ever number you like.  
I don't really know if I'm going to fix it (If I do, you will be unhappy probably) but if you really use high number of points, (for multiple widgets on dashboard), at some point it may harm performance.

---

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [14 May 2021 07:40 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/7 "2021-05-14T07:40:53Z")

</div>

I have 100 points per unit and 6 widgets on the dashboard and no performance problems with Raspberry 4 and an external SSD (no SD card).  
But here is another problem with the Min-Max values. I have activated "Show by default" and now deactivated "Allow toggling" and the Min-Max values of the sensors are initially not displayed. I found the reason. The Min-Max values only appears after the sensors have sent a value. Because the simulation sends every 3 second a value, I can see the Min-Max values very quick there, but for power saving my sensors send only a value if it has changed and every 5 minutes a status message. For this reason, the Min-Max values appear only after a long time. You can see the difference on the attached picture.  
 ![Dashboard](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/d/dd1a519986ac4083c5fd4aee04d6455e0ad23f31.jpeg)

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [14 May 2021 08:54 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/8 "2021-05-14T08:54:25Z")

</div>

That's a bug and fixed in v0.2.3.

---

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [14 May 2021 09:08 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/9 "2021-05-14T09:08:25Z")

</div>

I have v0.2.2 and in node-red pallett manager is only this version available and not 0.2.3

---

<div class="post-metadata">

### Author: ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)
#### Post date: [14 May 2021 09:53 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/10 "2021-05-14T09:53:00Z")

</div>

It takes some time and restart of node-red

---

<div class="post-metadata">

### Author: ![Manfred53](https://avatars.discourse-cdn.com/v4/letter/m/7feea3/32.png) [@Manfred53](https://discourse.nodered.org/u/Manfred53)
#### Post date: [14 May 2021 11:07 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/11 "2021-05-14T11:07:33Z")

</div>

OK, it works now properly with v0.2.3. Thank you.

---

<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 2021 11:07 UTC](https://discourse.nodered.org/t/again-a-problem-with-ui-value-trail/45573/12 "2021-06-13T11:07:46Z")

</div>

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