Way to know if dashboard is fully loaded


Hello, everyone.
Just to describe a use case - we develop a digital signage solution based on Raspberry Pi, quite a lot of people use grafana dashboards on them and we have this issue - RPI is quite slow so there is no way for us to know if the dashboard is fully loaded - we display it when we can render the first frame of the webpage. It takes quite some time for all the graphs to actually load and be displayed.

Is there any JS code I could execute to know if the page is actually fully ready to be displayed? Would make a big difference on Raspberry Pi.