This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Changing colour of dashboard text fields based on value
#1
I have several reported parameters on a node red dashboard. Let's say engine temperature for example.
I am wondering if there is any method for changing the colour of the displayed text (or background colour).
In other words, let's say the reading is 80C .... I would like the text data to be shown in green. When it hits 90C I would like it to change to red and if it is 100C I would ideally like it to be either flashing or show a flashing red background with black text or some such thing. Basically I would like to be able to look at a number of data points and at a glance be able to see which parameters are out of the normal range.

This seems to be a fairly basic requirement and I am wondering if I am missing something .....

Thinking on this a bit more, is it possible to have a button / field / area right after the displayed value that changes colour?  This would also allow a quick glance to see if everything is fine or something needs attention.
Reply


Messages In This Thread
Changing colour of dashboard text fields based on value - by JD1 - 2017-08-06, 11:28 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)