No known key found for this signature in database
GPG Key ID: 1D7529BE14E2BBA9
4 changed files with
4 additions and
4 deletions
-
DESCRIPTION
-
R/geom-chicklet.R
-
man/geom_chicklet.Rd
-
vignettes/using-ggchicklet.Rmd
|
|
@ -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 |
|
|
|
|
|
@ -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 |
|
|
|
|
|
@ -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 |
|
|
|
|
|
@ -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 |
|
|
|