Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana 7.4.3 not plotting MultiBars #74

Open
maxdd opened this issue Mar 16, 2021 · 0 comments
Open

Grafana 7.4.3 not plotting MultiBars #74

maxdd opened this issue Mar 16, 2021 · 0 comments

Comments

@maxdd
Copy link

maxdd commented Mar 16, 2021

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,

@maxdd maxdd changed the title Grafana 7.4.3 not plotting Grafana 7.4.3 not plotting MultiBars Mar 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant