Michael Geary wrote:
It's funny, my guess is the opposite of Scott's. I'm also not familiar with the flot code, but it sounds like something that may run *synchronously* and therefore locks up the browser until it is completed. Any changes you make to the DOM will not show up on the display until this finishes.
That's much more likely. Since there are no real threads in JS, writing good async code is somewhat tricky.
Luckily it should be easy for the OP to check if you're right. It is generally quite easy to see if the entire browser is locked up. And, as you said, there is a simple fix in that case.
If it is async code and flot does not offer callback functions, there is little help to offer.
-- Scott