This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

grafana panels do not display correctly in iframe
#1
Hi,

I wanted to add some fancy graphs that I generate in grafana based on Logic Machine data but ran into some issue.
When the graph is loaded for the first time in a LM panel, some sort of scrollbar is shown:
   

When I then manually refresh the frame it is shown correctly:
   

I've tested this also with a simple webpage with an iframe and there the graph is correctly displayed from the start. Also in the visualization editor in user mode the graph is displayed correctly.

Then panel size in grafana for this graph is 393x230. I tried with various sizes of the iframe in LM, but this makes no difference.
I can of course set a refresh interval on the iframe in LM and that works also but that does not eliminate the fact that each time I go to the LM panel I get the image with the scrollbar and besides that this causes a redraw of the graph which is unpleasant...
Firmware version 20160714.

Any idea what might be going on?
Reply
#2
Upgrade firmware and disable "persistent mode" for frame and see if it helps.
Reply
#3
(17.12.2019, 11:13)admin Wrote: Upgrade firmware and disable "persistent mode" for frame and see if it helps.

At the moment I can't upgrade...
Will try later.
Reply
#4
Element frame doesnt show my dashboard in grafana, I have also tested to share a panel and it doesnt work. If I try with my explorer directly they work.

Can I show from a frame element my dashboard or my panel make in grafana?
Is ther any way to show my grafana dashboard or any of my panels in grafana?

I have the last firmware: 20230420
I have activated: Allow external access via iframe inĀ  vis. configuration, and Allow external resources (JS/CSS)

thank you, very much.
best regards

Roger
Reply
#5
See this: https://community.grafana.com/t/load-den...ming/20296
Reply


Forum Jump: