R: Define padding.

padding {ggvis} | R 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))

[Package ggvis version 0.4.3 Index]