User Tools

Site Tools


This is an old revision of the document!

Frequently Asked Questions (FAQ)

Screens, Dashboard visualization

Screen text widget

Colorizing register values into custom colours

Question: In my screen widget I want the register values have custom colour. I set a color for them, but still they are black/white colours (depending on theme)

The register values in the WebHMI are coloourized using this rule: it is either default value color, or the color defined in the register state. there is a default colour register value style which overrides text widget styles for values..

the value colour can be either STATE COLOR or DEFAULT VALUE color.

So, to make your register value of desired colour, set a STATE for the register with the colour for this state. Then the register will have the colour you want