Description Usage Arguments Examples
Add header to pie
1 2 |
pier |
object |
text |
character main title text |
size |
integer font size |
font |
character font name; eg. "Impact" |
colour |
character colour name or hex value |
location |
character; must be one of 'top-center', 'top-left' or 'pie-center' |
1 2 3 4 5 6 7 8 9 10 | ## 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')
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.