Widget code to display graph

Hi All

Im using a graph from Grafana but for some reason it will not display inside this code, within a Custom Widget.

Can anyone point me in the right direction?

Hi Guys

Can someone assist with the Embed graph from Grafana?

This is my code:

<div class="widget">
	<div class="icon off"><svg viewBox="0 0 48 48"><use xlink:href="/static/matrix-theme/squidink.svg#processor"></use></svg></div>
	<div class="name">CPU Load (1min)</div>
	<div class="valueGroup"><div class="value">{{itemValue('OpenHAB_Cpu_Load1') | number:1}}%</div></div>			
<div class="graph">
		<img width="275" height="100" src="" />
		<div class="legend">Last 7 days</div>

The Link works fine in a browser, it shows me the graph. When I run the widget it doesnt display the CPU Load graph




Ta Vincent . I actually just got it half working. I used the rendered image version from grafana and it works on my pc. But wont display on my phone or tablet. I’ll keep troubleshooting ha!

Check the HPV wiki entry on embedding external content in HABPanel pages:

Thanks Volker, ive got it working now . i just need to stuff around with Grafana to remove the scrolbars and work on updating. Its not updating :confused: