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

Data Error - TypeError: Cannot read property 'length' of undefined #319

Open
oliveira0501 opened this issue Jun 22, 2021 · 9 comments
Open

Comments

@oliveira0501
Copy link

I'm using Grafana 8.0.3 and I get the error when adding a map.

No configuration is started, when inserting the panel the error is displayed.
After configuration, the map is not displayed on the dashboard.

I'm using the latest plugin version 0.3.3

@SimonFuet
Copy link

SimonFuet commented Jul 5, 2021

I have the same problem

I tried a lot of stuff to no avail. For example:

select now() as "time", 10 as FR works fine

select now() as "time", 100 as US works fine

but

select now() as "time", 100 as US, 10 as FR triggers the error

Data is formatted as timeseries

Any feedback will be greatly appreciated

@dario-rodriguess
Copy link

So, @oliveira0501 and @SimonFuet you could resolve this issue?
I have the same problem with Grafana 8.0.5/ World Panel 0.3.3.

@SimonFuet
Copy link

Nope, I'm still hoping for some help

@jhg03a
Copy link

jhg03a commented Jan 21, 2022

I see the same thing on grafana 7.5.11/0.3.3 using postgres as a table datasource returning 3 colums metric,latitude,longitude with no null values.

@jhg03a
Copy link

jhg03a commented Jan 21, 2022

I was able to fix it by not just having a valid query, but also tweaking the panel options to match how the query was working. Definitely non-intuitive, but it does work.

@KaitoCross
Copy link

KaitoCross commented Mar 3, 2022

I was able to fix it by not just having a valid query, but also tweaking the panel options to match how the query was working. Definitely non-intuitive, but it does work.

What exactly did you do? I am having the same issues on the most recent version of Grafana

@raphaelbr3382
Copy link

Consegui corrigi-lo não apenas tendo uma consulta válida, mas também ajustando as opções do painel para corresponder ao modo como a consulta estava funcionando. Definitivamente não intuitivo, mas funciona.

Good Morning!

How did you manage to solve it?

@oliveira0501
Copy link
Author

Can you share the solution details for me to replicate here?

@pihomeserver
Copy link

I guess that this one is still unresolved ?

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

7 participants