Hi everyone,
I have several Chart widgets in my experience that are linked to a map. When the app is first opened, the charts appear empty or stuck in a loading state.
Interestingly, they function perfectly fine if I do either of the following:
Refresh the browser page after the initial load.
Select a feature on the map (which triggers the data link).
"View from empty selection" is already enabled for all charts.
The charts are using the same data source as the map layers.
The app is published (the issue persists in both the published URL and the builder preview).
I’ve tried toggling the "Selected features only" filter and double-checking the data source triggers, but the initial "cold start" of the app still fails to render the data visually. It's as if the data source isn't "waking up" until a secondary interaction occurs.
Has anyone encountered this specific behavior? Is there a known bug regarding the initialization of charts in certain layouts, or perhaps a specific setting I'm missing to ensure the charts populate immediately upon the first visit?
Any insights would be greatly appreciated!
Hi @FarrukhZahid ,
have you tried to open the app in a different browser or in a private browser window? It could be a cache problem, although I haven't encountered this specific behaviour nor I can't say if it's specifically cache.
If it works on the other browsers, you should clear the cache of your normally used one. There's also the option to delete ArcGIS Enterprise through the following command on the developer's console of a browser:
caches.delete("exb-assets-cache")
Also, which version of ArcGIS Enterprise are you using? This could become handy for troubleshooting
Hi JavierML,
Yes, I’ve already tested several times in different browsers and also in incognito/private tabs, but I’m still facing the same issue. I even noticed this error directly in Experience Builder: when I opened the app to edit, the chart wasn’t loaded. After checking the data source, I saw it was marked as an empty selection. Once I unchecked and re‑selected it, the chart appeared again.
This is a completely different behaviour, and it’s inconsistent across my apps. I have more than 70 different Experience Builder apps with various maps and charts — sometimes a chart loads, sometimes it doesn’t.
Hi @FarrukhZahid ,
ok, then it isn't a cache problem as I would've thought. I think other users more experienced in should look into this topic and even sending a ticket to MyEsri support.
For troubleshooting purposes, could you open the Developer's console and look for errors both in console and Network? Maybe it can say, where and when the error appears (maybe it's the tool, maybe it's the connection to the data).
It might even be possible to look into ArcGIS Server Manager and get a protocoll of the chart process, but I doubt it counts as a tool (like for example Printing) or if the Queries to your data from the map will inform about any issues related to the chart display. You'll have to research a bit because I haven't worked with charts very often.
And still, ArcGIS Enterprise version can be very important to understand the issue better.
Best of luck!