pie.effects: pie.effects

Description Usage Arguments Examples

View source: R/settings.R

Description

Pass effects options to pier object

Usage

1

Arguments

pier

object

...

variables all passed via ...

load

list with options:

  • effect: character one of 'none', 'default

  • speed: numeric milliseconds

pullOutSegmentOnClick

list with options:

  • effect: character one of 'none', 'linear', 'bounce', 'elastic', 'back'

  • speed: integer milliseconds

  • size: integer pixels

highlightSegmentOnMouseover

boolean

highlightLuminosity

numeric

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
data.frame(value = c(40, 20, 30),
           label = c('red', 'green', 'blue'),
           color = c('red', 'green', 'blue')) %>%
  pier() %>%
  pie.effects(load  = list(speed = 2000),
              highlightLuminosity = .2)
  
## End(Not run)

mrjoh3/pier documentation built on June 18, 2021, 3:34 a.m.