shiny.gosling
shiny.gosling copied to clipboard
Sometimes the gosling plot gets rendered without the `use_gosling()`
use_gosling
seems to do something else than what the document suggests "Add this function at the beginning of ui. This is needed for gosling to work in shiny plots."
If this functionality is true the plot should not be rendered when you do not use the use_gosling()
in the UI. But it works after some reactivity triggers the gosling plot. So it seems like this function is making sure that the gosling plot is rendered during init or something similar because the gosling plot does not render when the use_gosling()
is removed.
For example, if you remove the use_gosling()
from the multiTrackApp example you can see that the graphs are not rendered but after changing some input the graphs start to get rendered.