# Dynamic gauge dashboard 2 property

**URL:** <https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211>\
**Category:** Dashboard\
**Tags:** dashboard-2\
**Created:** [16 August 2024 09:14 UTC](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211 "2024-08-16T09:14:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stef68600](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@stef68600](https://discourse.nodered.org/u/stef68600)\
**Post date:** [16 August 2024 09:14 UTC](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211/1 "2024-08-16T09:14:13Z")

</div>

hello,  
I'm stuck on a small code problem that I can't transform into dachboard 2.  
below code which works for "gauge" dashboard 1 and which does not work in dachboard 2.

Is there a manual for dynamic properties per dashboard 2 node?

could you help me?  
Thank you in advance and have a nice day.

Dashboard v1

```auto
var data = 20;
var max = 20 + (20/4);
msg.ui_control = { "min": 0, "max": max };

```

Dashboard v2

```auto
var data = 20;
var max = 20 + (20/4);

msg = {
    "ui_control": {
        "min": 0,
        "max": max
    },
    "ui_update": {
        "label": "New Label"
    }
};

```

---

<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:** [16 August 2024 10:16 UTC](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211/2 "2024-08-16T10:16:53Z")

</div>

> [@stef68600](#):
>
> Is there a manual for dynamic properties per dashboard 2 node?

At the moment no. You can see here: [Gauge ui-gauge | Node-RED Dashboard 2.0](https://dashboard.flowfuse.com/nodes/widgets/ui-gauge.html#properties) - The table will have ticks against in the dynamic column when supported.

NOTE: this is something we will support. Work is ongoing and you can see the status here: [Modify/Update UI-widget parameters from external · Issue #833 · FlowFuse/node-red-dashboard · GitHub](https://github.com/FlowFuse/node-red-dashboard/issues/833)

---

<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:** [15 September 2024 10:17 UTC](https://discourse.nodered.org/t/dynamic-gauge-dashboard-2-property/90211/3 "2024-09-15T10:17:37Z")

</div>

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