# Grafana dashboard did not appear \<iframe\>

**URL:** <https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493>\
**Category:** Dashboard\
**Created:** [12 January 2022 00:56 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493 "2022-01-12T00:56:40Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![littlestupid](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Post date:** [12 January 2022 00:56 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/1 "2022-01-12T00:56:40Z")

</div>

Dear users, I have difficulties with Grafana embedded. The dashboard not appear on iframe. Hopefully someone can enlighten me. Here I attach the picture the output on my dashboard.

 ![g1](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/a/9ac3cc0b302dec9d64fe458155b92ac75e42950c.png)  
 ![g2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/2/824618baf071ebd7b02068ebdc00905a4422ad57.png)

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [12 January 2022 07:13 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/2 "2022-01-12T07:13:15Z")

</div>

I don't understand. The images you posted show that grafana does appear. Please explain exactly what the problem is.

Edit: if you mean you can't get any further in grafana then click `Home` in the top left.

---

<div class="post-metadata">

**Author:** ![littlestupid](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Post date:** [14 January 2022 03:44 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/3 "2022-01-14T03:44:31Z")

</div>

Sorry for not explain detail. Here I attach the outcome from direct web Grafana. As per attach I have 2 dashboards.

 ![real g](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/3/2308287444af5ca6c5728dfd54e1d68fe76b725a.png)  
Unfortunately, When I embedded the Grafana dashboard, and logged in the dashboard missing.

---

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [14 January 2022 07:15 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/4 "2022-01-14T07:15:31Z")

</div>

> [@littlestupid](#):
>
> When I embedded the Grafana dashboard, and logged in the dashboard missing

What do you mean by "missing"?

What exactly do you see in the browser?

---

<div class="post-metadata">

**Author:** ![littlestupid](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Post date:** [19 January 2022 00:53 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/5 "2022-01-19T00:53:50Z")

</div>

I apologize not give a clear message.  
As per first image that I attach with the green border is my nodered dashboard, where I embedded my Grafana. But the grafana dashboard not appear on it. As you can see on _ **Starred dashboards** _ and _ **Recently viewed dashboards** _ there is nothing.

Actually I have 2 Grafana dashboards which is _ **CHILLER Evap+Cond** _ and _ **actest** _. But when I embedded both **grafana dashboard not appear on my nodered dashboard**.

The main problem is Grafana does appear but Grafana dashboard does not appear.

I hope this time I explain it well. I am sorry again English is not my native language. I'll try my best to explain more 😉

---

<div class="post-metadata">

**Author:** ![xx\_Nexus\_xx](https://avatars.discourse-cdn.com/v4/letter/x/54ee81/32.png) [@xx\_Nexus\_xx](https://discourse.nodered.org/u/xx_Nexus_xx)\
**Post date:** [19 January 2022 03:37 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/6 "2022-01-19T03:37:57Z")

</div>

Sorry, but per my understanding you have to change some config settings in grafana... otherwise the dashboard is not shared by grafana even with a valid url

[pls have a look here](https://flows.nodered.org/flow/8e96b8630c4edc866aa0459354033c9b)

> To get it working you need to change some settings in the _grafana.ini_ file. Change **anonymous access enabled = true** and **allow\_embedding=true**. If you can't find the last one, add it to the section [security]

Below is a simple sample flow working for me

```auto
[{"id":"1145f236ec34b40d","type":"function","z":"5e400b355ad98dde","name":"BuildTemplate","func":"//NOTE, more then one chart on a page, rename in the second and following \n//templates the \"myframe\" variable so that every template has a unique name.\n\n//panelid=2\n\n//msg.payload= \"http://192.168.1.195:3000/d-solo/mIxYKbigz/temp?orgId=1\"+\n//\"&refresh=1m\"+\n//\"&theme=dark\"+\n//\"&from=\"+ msg.fromdate +\n//\"&to=\"+ msg.enddate +\n//\"&panelId=\"+panelid\n\nmsg.payload= \"http://192.168.2.202:3001/d-solo/LMbX_rp7k/watertank?orgId=1&from=1642543944971&to=1642565544971&panelId=2\";\n\nreturn msg;\n\n","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":200,"wires":[["75bfb43ed893b447"]]},{"id":"75bfb43ed893b447","type":"ui_template","z":"5e400b355ad98dde","group":"bf358657.5131e8","name":"Temp","order":1,"width":0,"height":0,"format":"<html>\n<iframe id=\"myFrame2\" width=\"600px\" height=\"300px\" style = \"overflow:hidden; margin:auto; border:0px solid green;\"></iframe>\n\n<script>\n//NOTE, more then one chart on a page, rename in the second and following \n//templates the \"myframe\" variable so that every template has a unique name.\n(function(scope) {\n // watch msg object from Node-RED\n scope.$watch('msg', function(msg) {\n // new message received\n var x = document.getElementById('myFrame2');\n x.setAttribute('src', msg.payload); \n });\n})(scope);\n</script>\n</html>","storeOutMessages":true,"fwdInMessages":true,"resendOnRefresh":false,"templateScope":"local","x":630,"y":200,"wires":[[]]},{"id":"a940230f5f044173","type":"inject","z":"5e400b355ad98dde","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","payload":"","payloadType":"date","x":160,"y":200,"wires":[["1145f236ec34b40d"]]},{"id":"bf358657.5131e8","type":"ui_group","name":"Temp-Graph","tab":"a8a58ea5.968c4","order":2,"disp":true,"width":"12","collapse":true},{"id":"a8a58ea5.968c4","type":"ui_tab","name":"Syslog","icon":"fa-print","order":34,"disabled":false,"hidden":false}]

```

---

<div class="post-metadata">

**Author:** ![littlestupid](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Post date:** [19 January 2022 05:27 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/7 "2022-01-19T05:27:31Z")

</div>

Hi thank you for join this topic. I do appreciate your time. Actually, I already refer that topic. I already allow _ **anonymous access enabled = true** _ and _ **allow embedding = true** _ it still same the Grafana dashboard did not appear. I believe there is smtg to do with setting but Im stuck.  
 ![true already](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/6/5/653191e7ba497b27ab2d8493ec56976281f82aac.png)

![true](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/c/3/c3ad8206359109fb2b645096bcd5617d0de91451.png)

---

<div class="post-metadata">

**Author:** ![littlestupid](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@littlestupid](https://discourse.nodered.org/u/littlestupid)\
**Post date:** [19 January 2022 06:56 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/8 "2022-01-19T06:56:16Z")

</div>

Dear Node-RED colleague, I am sorry for this topic. I already found the problem. Act I create another Organization known as _ **A** _, and the Grafana Dashboard on _ **A** _ organization. Therefore, I change on the Organization name on Default.ini.

Thank you everyone for your time. I really appreciate it! 🤩

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [2 February 2022 06:56 UTC](https://discourse.nodered.org/t/grafana-dashboard-did-not-appear-iframe/56493/9 "2022-02-02T06:56:55Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
