grafana-flowcharting icon indicating copy to clipboard operation
grafana-flowcharting copied to clipboard

Color/Tooltip with multiple rules

Open harold-wong opened this issue 4 years ago • 3 comments

Hello, I am using the plugin 0.9. I added drawing on Grafana and I added multiple rules mapping one button, each rule define thresholds with color green,yellow,red. When one rule met red, but the next rule met green, and the button is green. I hope that according to the level priority, as long as any rule is red, the button will be red

harold-wong avatar Jan 07 '21 08:01 harold-wong

Hi Harold, When one object is define in multiple rule, only the last and highiest level is applyed. See example here https://play.grafana.org/d/63bm4tjWz/flowcharting-hierarchical-state-level?orgId=1&refresh=5s

algenty avatar Jan 07 '21 16:01 algenty

Hi Harold, When one object is define in multiple rule, only the last and highiest level is applyed. See example here https://play.grafana.org/d/63bm4tjWz/flowcharting-hierarchical-state-level?orgId=1&refresh=5s

thank you for your reply, but when i use invert, it not effective. image

harold-wong avatar Jan 08 '21 00:01 harold-wong

this isnt working for me ;( image

edit: oh nvm. it's working now

When one object is define in multiple rule, only the last and highiest level is applyed.

just noticed the info about last state value

CrashLaker avatar Apr 07 '21 20:04 CrashLaker