grafana / worldmap-panel

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

NAN error in location name field #232

Closed Lakshmipriya233 closed 4 years ago

Lakshmipriya233 commented 4 years ago

world-map map3

Hello, I am trying to display the Location Name with InfluxDB, how I can select the "Location Name" so I can display on the Map? My location name is displayed correctly, but there is a field "NAN" is displayed after it. why does it happen?

amotl commented 4 years ago

Dear @Lakshmipriya233,

instead of NaN, it should actually display the metric value. In order to make that happen, you should SELECT it in your database query and put the corresponding field name into the Metric Field slot of the Field Mapping section within the configuration panel.

With kind regards, Andreas.

Lakshmipriya233 commented 4 years ago

Thank you. It's working