# Ui-chart fails to update specific to ui-page and ui-group

**URL:** <https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494>\
**Category:** General\
**Tags:** dashboard-2\
**Created:** [18 October 2024 13:07 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494 "2024-10-18T13:07:49Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [18 October 2024 13:07 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/1 "2024-10-18T13:07:49Z")

</div>

My three ui-charts (bar chart) on a specific ui-group and ui-page showed up one morning with one bar in the far left x-axis. Debug is fine, its getting the proper message. I cleared history then i saw nothing while debug says its updating. I changed the type from bar to line and now it works again. I have had the charts running about 3 weeks. This probably is only on the one ui-group and ui-page. my ui-text field in this group/page, work fine.

Not sure what happened, but i'm assuming i reset the code when i changed from bar to line to bar again? version 4.0.2 running on linux on aws, flowfuse, 1.14.0 - updating to 1.18.0

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [18 October 2024 14:28 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/2 "2024-10-18T14:28:59Z")

</div>

> [@bjvt](#):
>
> Not sure what happened, but i'm assuming i reset the code when i changed from bar to line to bar again?

Yeah, we try to keep data and transfer it over automatically, but sometimes we just can't do it, so have to clear the chart.

---

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [19 October 2024 13:47 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/5 "2024-10-19T13:47:58Z")

</div>

Joe,  
the chart seems to stop providing 'y' values, yet the time 'x' is registered, I'm sending {"x":"10/19 5:31 AM","y":33}, works great but it stalled one morning and only one 'y' value is shown. Clearing node-red and uploading my backup is the only way i see to fix this.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [19 October 2024 18:44 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/6 "2024-10-19T18:44:21Z")

</div>

Is this now a reccuring/reproducable problem for you?

---

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [19 October 2024 18:59 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/7 "2024-10-19T18:59:59Z")

</div>

i am trying it on my ubuntu/snap and will likely wipe out my AWS production site and upload my backup. only the three charts in the 'density' ui-group and ui-page, the other ones are fine.

answers to your questions: first time, Reproducable? I am going to try other things like a new group and page, remove disabled and unused nodes, all ready tried two platforms, both Ubuntu however. So stay tuned unless you have something i can try.

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [19 October 2024 21:13 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/8 "2024-10-19T21:13:11Z")

</div>

When you say you've tried two Ubuntu systems, does that mean you were able to reproduce the problem?

---

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [20 October 2024 14:00 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/9 "2024-10-20T14:00:57Z")

</div>

Joe,  
Trying to isolate the problem and below has been reproducible: I have exported what worked and imported both so they are identical.

node red version, snap on laptop is 3.1.0, flowfuse 1.14, Ubuntu 22.04.5 LTS - works fine for the past several hours

node red version, npm -g -list, 4.0.2, flowfuse 1.18 on AWS micro Ubuntu 24.04.1 LTS - the dashboard pages update, but only the text values, not the chart. the chart is throwing some errors:

10/20/2024, 9:31:08 AM[node: PIR 359 Delta Count Bar](http://vontobel.dyndns.org:1880/#)msg : error

i have many ui-charts running, but these are unique to a ui-group and ui-page, but more importantly, they are the only ones using two key:values, x and y.

"Error: Invalid property expression: zero-length"  
10/20/2024, 9:51:02 AM[node: PIR 365 Delta Count Bar](http://voel.dyndns.org:1880/#)msg : error  
"Error: Invalid property expression: zero-length"  
10/20/2024, 9:51:02 AM[node: debug 25](http://vbel.dyndns.org:1880/#)msg.payload : Object  
{ x: "10/20 9:51 AM", y: 6652 }  
10/20/2024, 9:51:02 AM[node: debug 26](http://voel.dyndns.org:1880/#)  
msg.payload : number 6652 - _the text box works, number is updating_

---

<div class="post-metadata">

**Author:** ![joepavitt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/joepavitt/32/59722_2.png) [@joepavitt](https://discourse.nodered.org/u/joepavitt)\
**Post date:** [20 October 2024 14:27 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/10 "2024-10-20T14:27:29Z")

</div>

Okay, that's a concern. I have seen that error before, and thoight I'd put a fix in. I can't get to a laptop today as I need to look after my kids, but will look firet thing tomorrow.

Thanks so much for investigating further.

---

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [20 October 2024 14:30 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/11 "2024-10-20T14:30:35Z")

</div>

let me know if you want my user/pass on the engine. enjoy your family day!

---

<div class="post-metadata">

**Author:** ![bjvt](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bjvt/32/86394_2.png) [@bjvt](https://discourse.nodered.org/u/bjvt)\
**Post date:** [24 October 2024 00:24 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/12 "2024-10-24T00:24:47Z")

</div>

Hello Joe,  
I created another node-red instance on a RPI-4, doing well. I also cleaned up my function's JavaScript as it appears my initial very large value came back after about 3 days. With the cleaned code, I uploaded to AWS, and i still get the same error.

---

<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:** [22 January 2025 00:25 UTC](https://discourse.nodered.org/t/ui-chart-fails-to-update-specific-to-ui-page-and-ui-group/92494/13 "2025-01-22T00:25:47Z")

</div>

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