Hi Dojo,
I have drawing like this:
The bottom 3 fields are grey because it's linked to an alarm table. If there is no entry they are just grey. Is it possible to fake it to make it green? The only solution in my mind is with show/hide function. But than I would need to take another parameter. Maybe there is a smarter solution.
I think this indeed the best way to approach it. Overlay two shapes and have the top one using a condition.
I'm not 100% following the environment and use case but you could use the BackgroundColor shape data to color the shape. This shape data can take placeholders, so you should be able to link it to different things.
If the shapes are gray because they are linked to an element or parameter for instance, you can disable that by defining the NoAlarmColorFill option.
If an alarm comes up in the table the color should change to red etc.
So I can’t use NoAlarmColorFill or use BackgroundColor, because the shape is not static and it’s linked to the table row index.
But maybe I could make another shape on top with BackgroundColor and this will hide when something is found in the table?
Hi Stefan,
Another workaround that I used in the past is to modify the transparency of the shape. In your case, you could modify the transparency of these 3 fields to a higher value (e.g. 90%). Then you can place a green background behind these shapes. As a result, these 3 fields will look green.
Hope it helps!
Hi Miguel,
nice trick. But when there is an alarm color from the table it will not override it or?
Hi Stefan,
Indeed, this is a drawback in this case. Due to the transparency, you will not be able to see correctly the severity of the alarm (due to the green background). The only possible workaround I see here is the one that Sebastiaan proposed (multiple shapes with column manipulation).
My solution are two shapes. One with BackgroundColor and the other one without. Using Show/Hide to view the correct shape