Open bedantaguru opened 8 years ago
This is a bit of a hack (and overwrites the css), but the following will get rid of the dropdown-toggle outside of shiny.
test <-
readLines("/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ggvis/www/ggvis/css/ggvis.css")
test[grep('a.ggvis-dropdown-toggle', test) + 1] <- " display: 'none';"
writeLines(test, "/Library/Frameworks/R.framework/Versions/3.3/Resources/library/ggvis/www/ggvis/css/ggvis.css")
@wch, off the top of my head, an additional option might be nice here such that set_options(dropdown_toggle = TRUE)
would display the toggle and set_options(dropdown_toggle = FALSE)
would hide it.
Thanks a lot for this nice package. I was wondering whether it will be possible to disable the settings button [ggvis-dropdown-toggle or SVG download option button] through R.
I can do it while writing a shiny app like this [example has been taken from here] Trick is by adding this :
Full code is
Kindly let me know.