Skip to content

The chart is not updating and when I reload the page it disappears #1053

Closed Answered by arnonrdp
leonardo-cordeiro asked this question in Q&A
Discussion options

You must be logged in to vote

I'm not sure how to solve it exactly, but as long as nobody comes up with the solution, this strategy will do the trick for now:

await new Promise((resolve) => setTimeout(resolve, 150))

Add this code snippet after calling the renderizarGrafico() function.
This will make the graph reload.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by leonardo-cordeiro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants