View source: R/shapes-special.R
| draw_pie | R Documentation |
Draw a pie chart node with multiple segments.
draw_pie(
x,
y,
size,
fill,
border_color,
border_width,
alpha = 1,
values = NULL,
colors = NULL,
pie_border_width = NULL,
default_color = NULL,
...
)
pie_border_width |
Border width for pie segments (optional, defaults to border_width * 0.5). |
default_color |
Fallback color when colors is NULL and there's a single segment. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.