File: padding.Rd

package info (click to toggle)
r-cran-ggvis 0.4.7%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 1,716 kB
  • sloc: javascript: 7,373; sh: 25; makefile: 2
file content (20 lines) | stat: -rw-r--r-- 544 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/options.R
\name{padding}
\alias{padding}
\title{Define padding.}
\usage{
padding(top = NULL, right = NULL, bottom = NULL, left = NULL)
}
\arguments{
\item{top, right, bottom, left}{Amount of padding on each border. Can either
be a single number, "auto", or "strict"}
}
\description{
Define padding.
}
\examples{
p <- mtcars \%>\% ggvis(~wt, ~mpg) \%>\% layer_points()
p \%>\% set_options(padding = padding())
p \%>\% set_options(padding = padding(10, 10, 10, 10))
}