rstudio / ggvis

Interactive grammar of graphics for R
Other
713 stars 171 forks source link

linked_brush is not working after a filter changed #452

Closed nephantes closed 5 years ago

nephantes commented 8 years ago

Hi, Thank you very much for ggvis. I am going to use it a lot. So, I have a problem when I use linked_brush for zooming. I put two filters. When I run it for the first time, linked_brush is working perfectly but when I change the filter and run again, it keeps the old selected points and is not working anymore. I copied the code below; https://gist.github.com/nephantes/a1e227332cf35445ede3 and there is a working version here; https://nephantes.shinyapps.io/ggvis_zoom/ If you can help me to reset the selection or replace the keys with the new ones, it would be great. Thanks, Alper