Skip to content

Grafana 7.4.3 not plotting MultiBars #74

@maxdd

Description

@maxdd

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,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions