How to make variable limits

#1

Hi everyone, i'm trying to make that the gauge varies the max limit (with something like a message property), is this possible?

0 Likes

#2

Absolutely :slight_smile:

var max = 50;
var min = 20;
var data = 30;
msg = {payload:data,ui_control:{min:min,max:max}}
return msg;
2 Likes

#3

@hotNipi Thank you very much sir! that was exactly what i was looking for!

0 Likes