Renders a node with two concentric donut rings and an optional inner pie chart. From outside to inside: outer donut ring, inner donut ring, center pie.
draw_double_donut_pie_node_base(
x,
y,
size,
donut_values = NULL,
donut_colors = NULL,
donut2_values = NULL,
donut2_colors = NULL,
pie_values = NULL,
pie_colors = NULL,
pie_default_color = NULL,
outer_inner_ratio = 0.7,
inner_inner_ratio = 0.4,
bg_color = "gray90",
border.col = "black",
border.width = 1,
pie_border.width = NULL,
donut_border.width = NULL
)Node center coordinates.
Outer radius.
Values for outer donut ring (vector for segments, or single 0-1 for progress).
Colors for outer donut segments.
Values for inner donut ring (vector for segments, or single 0-1 for progress).
Colors for inner donut segments.
Numeric vector for center pie segments.
Vector of colors for pie segments.
Default color for pie when pie_colors is NULL.
Where outer donut ends (inner radius as ratio of outer radius). Default 0.7.
Where inner donut ends (inner radius as ratio of outer radius). Default 0.4.
Background color for unfilled portions.
Border color.
Border line width.
Border width for pie slice dividers.
Border width for donut rings.