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

Freeze when data is empty #291

Open
Hualin-AUG opened this issue Dec 10, 2020 · 6 comments
Open

Freeze when data is empty #291

Hualin-AUG opened this issue Dec 10, 2020 · 6 comments

Comments

@Hualin-AUG
Copy link

My data source is InfluxDB and I am using InfluxQL to query the data into table.
I find that when the query gets nothing in return, it will show a problem

TypeError: Cannot read property 'lat' of null

And then you are not able to drag the map and move around anymore.

@amotl
Copy link

amotl commented Jan 19, 2021

Hi Hualin,

can you test with our fork [1] and report back to us whether this will work better? You can find setup instructions at [2].

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-map-panel
[2] https://community.panodata.org/t/grafana-map-panel/121#setup

@Hualin-AUG
Copy link
Author

Hualin-AUG commented Jan 21, 2021 via email

@amotl
Copy link

amotl commented Jan 21, 2021

Hi Hualin,

thanks for your response. If you are able to create an issue over at [1] and share some more insights about your data, we might be able to look into what you are observing. A minimal reproducible example in order to load a subset of the data you are handling into InfluxDB would be tremendously helpful.

With kind regards,
Andreas.

[1] https://github.com/panodata/grafana-map-panel

@Hualin-AUG
Copy link
Author

Hualin-AUG commented Jan 22, 2021 via email

@amotl
Copy link

amotl commented Jan 23, 2021

Hi Hualin,

thanks for sharing your dashboard JSON. However, this is not a repro I can reuse easily, please also share some of your data. Therefore, I humbly ask you to

  1. Export a subset of your data into InfluxDB line protocol format, e.g. by using InfluxDB Fetcher [1,2].
  2. Export your dashboard JSON into a .json file.
  3. Upload both into a gist [3].
  4. Create an appropriate issue at our repository fork [4] referencing the gist created in step 3.

Thank you in advance.

With kind regards,
Andreas.

[1] https://community.panodata.org/t/influxdb-fetcher-export-data-in-influxdb-line-protocol-format/188
[2] https://github.com/daq-tools/influxdb-fetcher/
[3] https://gist.github.com/
[4] https://github.com/panodata/grafana-map-panel

@dineshgowdam
Copy link

hi @Hualin-AUG,
Actually, I'm facing the same issue right now. Did you solve that issue?

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

3 participants