Delay Page load based on Condition

I have a page layout wherein a Server Connect on success populates the Session storage, on the pages that use the layout the session storage data is utilized to display the charts, however, when the page loads the session storage isn’t populated intime for the charts to fetch the data, as a result, the charts show up blank and show correctly on refresh/reload of the page.

Is there a way we can delay the page from getting loaded based on the condition that data is being populated in the session storage?

Community Page
Last updated: