SafetyGraphics / hep-explorer

Interactive Graphic for Exploring Liver Function Data in Clinical Trials
https://safetygraphics.github.io/hep-explorer/test/
MIT License
10 stars 3 forks source link

Figure out how to interrupt animation #271

Closed jwildfire closed 4 years ago

jwildfire commented 5 years ago

What happens when another controls is clicked during the animation? Probably just want to cancel animation, and then re-draw.

jwildfire commented 5 years ago

Automatically canceling the main svg transition onDraw handles most situations, but changing Plot Style during the animation still isn't working ... might need to cancel transitions on each circle individually ...