# How to dynamically change Dasboard-2.0 chart properties (ymin and ymax)?

**URL:** <https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [9 August 2024 08:09 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070 "2024-08-09T08:09:55Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![snottyIsWorking](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/snottyisworking/32/93483_2.png) [@snottyIsWorking](https://discourse.nodered.org/u/snottyIsWorking)\
**Post date:** [9 August 2024 08:09 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070/1 "2024-08-09T08:09:55Z")

</div>

I hope this is not a duplicate, I found similar threads for the old dashboard, but not for the 2.0 one.

I am trying to change the `ymin` and `ymax` values of a chart dynamically, meaning that the user should be able to set those values later on during runtime. I understand [from the official documentation](https://dashboard.flowfuse.com/user/dynamic-properties.html) from the official documentation that it is easy to change values marked by the dashboard-2.0-devs as "dynamic" using the `msg.ui_update` property

However, the `ymin` and `ymax` values are not dynamic, so that doesn't work.

How can i accomplish 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:** [9 August 2024 08:34 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070/2 "2024-08-09T08:34:30Z")

</div>

Hi @snottyIsWorking - thanks for your question, and welcome to the community.

We're in the process of working through the widgets as we speak to implement the `ui_update` across all widgets, you can see our progress in this parent issue [here](https://github.com/FlowFuse/node-red-dashboard/issues/833):

 ![Screenshot 2024-08-09 at 09.33.59](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/b/2b285000712d0cec380fc482b78cf392dc253167.png)

The specific issue to track for the UI Chart is: [Dynamic Properties: UI Chart · Issue #1179 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/issues/1179)

It should hopefully be live in the next week or two.

---

<div class="post-metadata">

**Author:** ![snottyIsWorking](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/snottyisworking/32/93483_2.png) [@snottyIsWorking](https://discourse.nodered.org/u/snottyIsWorking)\
**Post date:** [9 August 2024 08:56 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070/3 "2024-08-09T08:56:25Z")

</div>

Thank you @joepavitt , are you planning to making it possible with the aforementioned `msg.ui_update` property? If so, once that is done I will post a solution to my problem here for the sake of completeness.

---

<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:** [9 August 2024 09:37 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070/4 "2024-08-09T09:37:04Z")

</div>

> [@snottyIsWorking](#):
>
> are you planning to making it possible with the aforementioned `msg.ui_update` property?

I most certainly am - yes

---

<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:** [6 September 2024 10:09 UTC](https://discourse.nodered.org/t/how-to-dynamically-change-dasboard-2-0-chart-properties-ymin-and-ymax/90070/5 "2024-09-06T10:09:28Z")

</div>

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