Text colour for gauge panel value mapping doesn't work

  • What Grafana version and what operating system are you using?

    • 13.01
  • What are you trying to achieve?

    • I have a gauge panel which is repeated by variable. This gauge has a threshold set so that any value below 500 makes it read. This part works properly like in the fragment here:
  • How are you trying to achieve it?

    • I’m trying to have a text “ALARM” displayed when the value is below 500 (in fact between 0 and 500). This part also works well via variable substitution as shown above but…
    • I wanted to have this text also coloured as red at the same time!
  • What happened?

    • The text is visible but it’s not coloured
  • What did you expect to happen?

    • Have “ALARM” text coloured red
  • Can you copy/paste the configuration(s) that you are having problems with?

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

    • No
  • Did you follow any online instructions? If so, what is the URL?

Am I missing something in the whole picture? Please help

thank you in advance and regards,
Szymon

The new Gauge panel introduced in v13 is not applying value mapping colors to the display text ->the text always renders white regardless of the color set in value mappings .


1-> Change the colour scheme to From thresholds (by value)
2 → Downgrade to Grafana 12 On Grafana 12.4.3 the same configuration works perfectly and value mapping colors are correctly applied to Gauge panel text.

3 → Switch to Stat panel Change your panel type from Gauge to Stat. The Stat panel fully respects value mapping colors, so your ALARM text will correctly show in red and you can still keep all your thresholds and value mappings same

.

Hi,

Thank you for reply. That’s bad Grafana removed such a useful feature :frowning: Difficult to find a reason for such move.
Of course downgrading is not an option. I will have to live with this somehow.

Regards,

Szymon