Reputation: 33
here on GitHub I found out that it should be possible to change the color of the gage with the colors property dynamically.
However the following code is not working. The min and max properties works fine. Only the colors property doesn't seems to work. Any Ideas why?
msg.ui_control = {
"gtype": "gage",
"options":{
"min": 0,
"max": 200,
"colors": ["blue","blue", "blue"]
}
}
return msg;
Upvotes: 0
Views: 1500