Embed chart on external webpage **solved**
Posted: Wed Jan 26, 2022 12:29 pm
Hi,
I'm looking for information on how to properly embed a Meteobridge graph on my personal website. I generated the graph, copied the public URL, and now wanted to embed this on my PHP webpage.
Currently I came up with the following approach:
In principle this works, and the graph is nicely shown in the dedicated section on the page. However, while loading the graph, the spinning loading wheel is covering my entire webpage. When it disappears, the graph is in the correct position. What I'd like to accomplish is that this spinning wheel is just confined to the <div> section where the graph is supposed to show up, in order for it to not jeopardize my entire webpage while loading this one little graph.
Any ideas on how to do this?
Thanks,
Kristof
I'm looking for information on how to properly embed a Meteobridge graph on my personal website. I generated the graph, copied the public URL, and now wanted to embed this on my PHP webpage.
Currently I came up with the following approach:
Code: Select all
$url = 'https://admin.meteobridge.com/<complete_link_to_chart>";
$content = file_get_contents($url);
echo $content;
Any ideas on how to do this?
Thanks,
Kristof