Display name mess up legend click


Grafana docker: Grafana v8.0.6 (68fe9e3431)
Host OS: Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-80-generic x86_64)
Graph: Time Series

I have two queries. When I don`t have series override, when I click on one series in the legend, the graph displays only it, when I click on the second, the graph displays only the second. As it should be.

When I add Override with Display Name, and rename both series, and click on the legend both are hidden and shown at the same time.

How can I have custom Display Name for each series, and the legend to still work at the same time?

Best regards.

Hi @kvasilev

This sounds like a bug. I would report in the repo so the teams can track and fix it :+1:

screenshot your settings please
the override settings + the result youre seeing


Here are the settings of the Time Series:

Here are my queries to the influx using the flux language:

Here are my graphs without clicking on the legend:

And here is the same graph, when I click on the Difference in the legend:

I have the " |> map(fn: (r) => ({ r with _value: r._value / 1000000.0}))" because I cannot have the same units on the both ( right and left ) Y axis. I had opened a separate topic for this.

this will definitely mess things up. The teams are working on this, but right now I think you can only depend on using multiple y axes when each one uses a different unit

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