Closed andreasferm closed 5 years ago
Hmm... the issue is here i guess ->
if (data.length === 0 || data.length !== 2) {
// No data or incorrect data, show a world map and abort
this.leafMap.setView([0, 0], 1);
return;
}
I'm not sure how things work with InfluxDB, but when using Myslq as a datasource (forgive me i'm relatively new to grafana) a typical query could look like this ->
SELECT UNIX_TIMESTAMP(
Good day!
I've have all my tracking data stored in a mariadb db. I can't seem to get any datapoints to be displayed, so i'm trying to figure out how the panel reads and uses data.
I've got a query set up that would report something like -> |longitude|latitude|unix timestamp|
| 58.394364339281324 | 15.556798987621917 | 1524717270 | | 58.39462016744349 | 15.568641038825959 | 1524720615 | | 58.39524232306565 | 15.568404374750246 | 1524722431 |
But i'm not sure if this is expected by the panel. I see a map but it's all zoomed out.
Should each column be called something special? What would the output be from a functional query from InfluxDB ?