-
What Grafana version and what operating system are you using?
Grafana in Docker version Grafana v11.3.0 (d9455ff7db)
InfluxDB InfluxDB v2.7.10 -
What are you trying to achieve?
Basically I want to show what I would call a heatmap, but instead of the number of occurrences (buckets you call it I think?) I would like to show the values:
The image above shows the 15 min average power consumption (so called power peaks).
I want this to be visualised in Grafana.
-
How are you trying to achieve it?
Well, my initial thought was to grab the query which already makes a bar graph, add it to the heat map and then try to change the axis or the fact it is counted to something like “value based”. But that’s where I am stuck. -
What happened?
I am able to get 2 kinds of Heat maps, one looks like a real heatmap but shows the counts instead of values and the other one shows like one bar of orange gradients and I am unable to explain it.
This one is the heatmap, and it has the setting below calculate set to yes.
This one is the “orange bar” and has calculate set to no:
- What did you expect to happen?
- Can you copy/paste the configuration(s) that you are having problems with?
The query in case:
from(bucket: "EnergyFlow")
|> range(start: v.timeRangeStart, stop: v.timeRangeStop)
|> filter(fn: (r) => r["_measurement"] == "energy")
|> filter(fn: (r) => r["_field"] == "Total_W")
|> aggregateWindow(every: v.windowPeriod, fn: mean)
-
Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
N/A -
Did you follow any online instructions? If so, what is the URL?
Not specifically, I found a topic that had a similar question (I think) but the user that posted the question never followed through or posted his solution.