powered by
Define padding.
padding(top = NULL, right = NULL, bottom = NULL, left = NULL)
Amount of padding on each border. Can either be a single number, "auto", or "strict"
p <- mtcars %>% ggvis(~wt, ~mpg) %>% layer_points() p %>% set_options(padding = padding()) p %>% set_options(padding = padding(10, 10, 10, 10))
Run the code above in your browser using DataLab