Server Connect and Apex Charts

Hi Ben,
I was testing Apex charts and got it work nicely on one of my testing index pages. It’s straightforward as explained by Max_Saravia here How to change the font and grid color in Charts component
But, I have to put the server connect including the chartUpdate() in the main layout page otherwise when I move it to any specific content pages to load it there only, I’m getting errors and charts are not showing. So please how can I load Apex chart properly with the server connect on my content pages only?
Best regards

Community Page
Last updated: