padding: Define padding.

View source: R/options.R

paddingR Documentation

Define padding.

Description

Define padding.

Usage

padding(top = NULL, right = NULL, bottom = NULL, left = NULL)

Arguments

top, right, bottom, left

Amount of padding on each border. Can either be a single number, "auto", or "strict"

Examples

p <- mtcars %>% ggvis(~wt, ~mpg) %>% layer_points()
p %>% set_options(padding = padding())
p %>% set_options(padding = padding(10, 10, 10, 10))

ggvis documentation built on May 29, 2024, 1:12 a.m.