~hrbrmstr/ggchicklet

c59c06ff6ce51f2c51c7b368432350bdb3c5a325 — hrbrmstr 4 years ago d06dcc5
doc change 'px' to 'pt'
4 files changed, 4 insertions(+), 4 deletions(-)

M DESCRIPTION
M R/geom-chicklet.R
M man/geom_chicklet.Rd
M vignettes/using-ggchicklet.Rmd
M DESCRIPTION => DESCRIPTION +1 -1
@@ 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

M R/geom-chicklet.R => R/geom-chicklet.R +1 -1
@@ 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

M man/geom_chicklet.Rd => man/geom_chicklet.Rd +1 -1
@@ 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

M vignettes/using-ggchicklet.Rmd => vignettes/using-ggchicklet.Rmd +1 -1
@@ 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