Hello, warming up with Grafana… anyway, something that I cannot resolve/understand. Help appreciated.
I’m wondering what Grafana’s Table panel expects as data (via) Simple JSON datasource.
Should SimpleJSONdatasource even work with “table-data”? I’m feeding this kind of JSON via SimpleJSONdatasource.
{“type”:“table”,“columns”:[{“text”:“Time”,“type”:“time”},{“text”:“String”,“type”:“string”},{“text”:“Number”,“type”:“number”}],“rows”:[[1503065409986,“face”,283.69652935336183],[1503065408986,“here”,3362.0711168181483],[1503065407986,“see”,5974.4767060272752],[1503065406986,“see”,4771.1572419661834],[1503065405986,“my”,780.028655110406],[1503065404986,“on”,4389.1377007594047],[1503065403986,“a”,4586.0111071495394],[1503065402986,“what”,2590.1913489667659],[1503065401986,“a”,270.04564881932254],[1503065400986,“in”,3288.4439013704864]]}
If I want to show this data in “Table” mode. I will get this error from Grafana:
TypeError: Cannot read property ‘type’ of undefined
at Object.transform (boot.js:29)
at f.c [as transformDataToTable] (boot.js:29)
at b.render (boot.js:30)
at a.render (boot.js:30)
at a.transformChanged (boot.js:30)
at fn (eval at compile (boot.js:54), :4:184)
at b.$eval (boot.js:52)
at boot.js:54
at Object. (boot.js:55)
at d (boot.js:50)