pie.subtitle: pie.subtitle

Description Usage Arguments Examples

View source: R/settings.R

Description

Add subtitle to the pie

Usage

1
2
pie.subtitle(pier, text = NULL, size = NULL, font = NULL,
  colour = NULL, padding = NULL)

Arguments

pier

object

text

character main title text

size

integer font size

font

character font name; eg. "Impact"

colour

character colour name or hex value

padding

integer pixels

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
data.frame(value = c(40, 20, 30),
           label = c('red', 'green', 'blue'),
           color = c('red', 'green', 'blue')) %>%
  pier() %>%
  pie.header(text = 'My New Title', font = 'Impact',
             size = 18, colour = 'grey',
             location = 'top-center') %>%
  pie.subtitle('with some additional explanation')
  
## End(Not run)

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