Apologies if this has been covered elsewhere but I've seen a lot of articles about getting data out of Node-RED into InfluxDB then visualising that data in Grafana.
But what's the best way to show one of these graphs in Node-RED dashboard?
Presumably I'd need a template node. Is the best way just to insert an iframe?
Click on the triangle and choose share and then the tab embed. Copy from the share url the part starting with http:... and ends with orgid=1 , for example http://192.168.1.127:3000/d-solo/0032x0mgk/joshuadashboard?orgId=1
Copy this part to Build template function.
Passing this url to a browser should also show the chart only to verify.
If that's also not working you didn't change the grafana.ini correct or not.
Note that replacing & with & ; is only done when writing the URL in HTML, where "&" is a special character (along with "<" and ">"). When writing the same URL in a plain text email message or in the location bar of your browser, you would use "&" and not "&" . With HTML, the browser translates "&" to "&" so the Web server would only see "&" and not "&" in the query string of the request. from forms - What is & used for - Stack Overflow
thank you for the explanation.
Ok, the & all alone is for an address to type directly in a browser, and & to include it in a html code.
But why, chrome can not display it ? Why the Template node, can not display my Grafana curve?
You should use "src=http://localhost:3000/d-solo/GQ47zhIZk/chri-dashboard?orgId=1"+
not "http://localhost:3000/d-solo/GQ47zhIZk/chri-dashboard?orgId=1"+