Browse Source

doc change 'px' to 'pt'

master
boB Rudis 5 years ago
parent
commit
c59c06ff6c
No known key found for this signature in database GPG Key ID: 1D7529BE14E2BBA9
  1. 2
      DESCRIPTION
  2. 2
      R/geom-chicklet.R
  3. 2
      man/geom_chicklet.Rd
  4. 2
      vignettes/using-ggchicklet.Rmd

2
DESCRIPTION

@ -10,7 +10,7 @@ Authors@R: c(
Maintainer: Bob Rudis <bob@rud.is>
Description: Sometimes it is useful to stylize column charts a bit more
than just bland rectangles. Methods are provided to create rounded
rectangle segmented column charts (i.e. "chicklets").
rectangle segmented column charts (i.e. 'chicklets').
URL: https://gitlab.com/hrbrmstr/ggchicklet
BugReports: https://gitlab.com/hrbrmstr/ggchicklet/issues
Encoding: UTF-8

2
R/geom-chicklet.R

@ -30,7 +30,7 @@
#' @inheritParams ggplot2::layer
#' @inheritParams ggplot2::geom_point
#' @inheritParams ggplot2::geom_col
#' @param radius corner radius (default 3px)
#' @param radius corner radius (default 3pt)
#' @note the chicklet/segment stack positions are default set to be reversed (i.e.
#' left-to-right/bottom-to-top == earliest to latest order).
#' @export

2
man/geom_chicklet.Rd

@ -33,7 +33,7 @@ from a \code{formula} (e.g. \code{~ head(.x, 10)}).}
\item{position}{Position adjustment, either as a string, or the result of
a call to a position adjustment function.}
\item{radius}{corner radius (default 3px)}
\item{radius}{corner radius (default 3pt)}
\item{...}{Other arguments passed on to \code{\link[=layer]{layer()}}. These are
often aesthetics, used to set an aesthetic to a fixed value, like

2
vignettes/using-ggchicklet.Rmd

@ -121,7 +121,7 @@ You can use `ggplot2::geom_col()` to create a similar chart without the rounded
- "`white`" stroke for the chicklet/segment (`geom_col()` has `NA` for the stroke)
- automatic reversing of the `group` order (`geom_col()` uses the standard sort order)
- radius setting of `unit(3, "px")`
- radius setting of `unit(3, "pt")`
- chicklet legend geom
You will need to modify `colour`/`color` to use something besides "`white`" if you are using

Loading…
Cancel
Save