Repository navigation
Updating chart data using external API hangs UI and shows loading spinner #2372
Unanswered
n-srinidhi
asked this question in
Q&A
Replies: 1 comment
Hard to be sure without a min repro, but my guess is your API call / chart build takes too long which causes the spinner. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi!I have a form_card where I am rendering a bubble chart via custom HTML using
ui.frame()component. I'm accessing external APIs using python aiohttp module, However my UI hangs and Im getting a loading spinner till the data is rendered. I am using asynchronous methods everywhere but to no avail. How can i do this without blocking the UI?generate_bubble_chart_html()creates expected bubble chart and returns HTML code which is passed to the frame component in theq.page['bubble']page.All reactions