How to make variable limits

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

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

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