Hello Everyone, trying to set color either to the value status: pass or fail or to the entire row on my table. Green if has “pass” and red if it has “fail”.
Im using Grafana v7.1.5
Hello Everyone, trying to set color either to the value status: pass or fail or to the entire row on my table. Green if has “pass” and red if it has “fail”.
Im using Grafana v7.1.5
You can do it very simply by using field overrides:
@ivanahuckova thank you, this really helped but is there a way to have a string instead of a number. I want to display pass or fail not 1 or 10.
There is unfortunately no way to do that now. You can follow this github issue for updates on this feature request.
I have 1 more idea. I know it is not ideal, but maybe could be suitable option for you. You could (kind of) duplicate the column using Add field from calculation. Create a column named status_color
. And then use field overrides on that duplicated column. And that way you would have both - status & status color.
Again, not ideal, just an idea.