I show an indicator of a status as a colored icon. The color change depends on the same logic as the Tooltip Text, so I set both values in a Styles Logic Block only. For that I have created a reusable function that sets the color and the tooltip text. The tooltip text can have 4 different entries as the result of the logic.
I wonder whether you can recommend the best possible approach:
- use only styles Logic
- use only Tooltip Logic
- use both and put the same logic in both Logic Blocks