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
var data = 20;
var max = 20 + (20/4);
msg.ui_control = { "min": 0, "max": max };
Dashboard v2
var data = 20;
var max = 20 + (20/4);
msg = {
"ui_control": {
"min": 0,
"max": max
},
"ui_update": {
"label": "New Label"
}
};