grafana / worldmap-panel

Worldmap panel plugin for Grafana 3.0 that can be overlaid with circles for data points.
MIT License
312 stars 199 forks source link

"undefined is not an object (evaluating 'o.x')" in table mode using PostgreSQL #185

Open gschjetne opened 5 years ago

gschjetne commented 5 years ago

What happened:

The error message undefined is not an object (evaluating 'o.x') in the top left corner of the map

What you expected to happen:

Render a dot off the coast of Africa, or at least display an error message that doesn't refer to minified worldmap-panel code, but to user input.

How to reproduce it (as minimally and precisely as possible):

Settings:

Screen Shot 2019-03-12 at 13 23 06

(Selecting "geohash" produces the same error message)

Query:

SELECT
  5 AS "metric",
  0 AS "latitude",
  0 AS "longitude",
  's000' AS "geohash"

("Format as Table" selected)

Environment:

amotl commented 3 years ago

Dear @gschjetne and @rkeshmir,

our fork grafana-map-panel already addressed this issue (see https://github.com/panodata/grafana-map-panel/issues/47) and also includes many other improvements. You might want to pick a recent release from [1] and check if that will work for you.

With kind regards, Andreas.

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