Grafana graph bug on colors?

  • What Grafana version and what operating system are you using?
    Hassio + Grafana v8.0.6 (634112e1d4)

  • What are you trying to achieve?
    Have same colors on the legend and on the tooltip

  • How are you trying to achieve it?
    I was expecting the colors will be taken from the series

  • What happened?
    Colors are different on the graph vs the tooltip when you hover the graph which is very confusing

  • What did you expect to happen?
    Colors should be the same

Attaching a picture that will show the problem better.
As you can see CO2 Office is green both in the graph and in the legend at the bottom of the graph. Something similar happens for the other measurement CO2 Bedroom. However on the tooltip the colors are switched/changed

Thanks a lot for this great software!

Hello, anyone knows if this is a bug or am I doing something wrong? Thanks

Looks like it’s a bug that’s already reported on Github (but still open): TimeSeries: Tooltip color not matching graph and legend ones · Issue #36385 · grafana/grafana · GitHub.

One of the comments mentions a potential workaround.

Thanks! Glad it’s a bug and it’s reported and being fixed :slight_smile:

This topic was automatically closed after 365 days. New replies are no longer allowed.