chartwerk / grafana-chartwerk-app

Chartwerk line and bar pods (panels) for Grafana
https://chartwerk.io
GNU General Public License v3.0
36 stars 1 forks source link

Grafana 7.4.3 not plotting MultiBars #74

Open maxdd opened 3 years ago

maxdd commented 3 years ago

I have the following query

from(bucket: "db")
  |> range(start: v.timeRangeStart, stop: v.timeRangeStop)
  |> filter(fn: (r) => r["_measurement"] == "meas")
  |> filter(fn: (r) => r["_field"] == "PAC")
  |> window(every: 1d)
  |> integral(unit: 1h)

image

This is the result of the query

image

which returns (assuming 4 days) 4 different entries representing the kWh over a day.

The resulting graph is the one below

image

If i set it to Gauge at least the "first" value is displayed. I admit i'm new to grafana world and i have no idea if the data i'm returning is in the correct form. The idea would be to show different powers (consumed, measured ecc) grouped by each day.

Regards,