Match colour of same measurement for several Panels


I am using Grafana to visualize data from InfluxDB in several bar graphs. Currently, I query data from over 150 measurements and group by the measurement name.

The problem ist, not all measurement names occur in each graph, resulting in different colors from graph to graph. But i would really like to keep those colors matched for better understanding of the visualization.

I found out that I could use the JSON model to set colors to specific variables, but the database and with it the amount of measurements is growing every few months, resulting in a recurrent amount of manual work.

Is there maybe a dynamically solution to my problem?

Thanks for your help in advance!

1 Like

this is quite the question I was going to ask. I have the same problem.
Did you ever find a solution?