Pie Series
PieSeries.RdConfiguration for a pie chart series.
Usage
PieSeries(
name = NULL,
data = NULL,
silent = NULL,
legend_hover_link = NULL,
color = NULL,
z_level = NULL,
z = NULL,
center = NULL,
radius = NULL,
rose_type = NULL,
clockwise = NULL,
start_angle = NULL,
end_angle = NULL,
pad_angle = NULL,
min_angle = NULL,
min_show_label_angle = NULL,
selected_offset = NULL,
avoid_label_overlap = NULL,
percent_precision = NULL,
still_show_zero_sum = NULL,
animation_type = NULL,
item_style = NULL,
label = NULL,
label_line = NULL,
left = NULL,
right = NULL,
top = NULL,
bottom = NULL
)Arguments
- name
Optional Character: Series name.
- data
Optional Numeric or list: Pie data. A list of named lists with
valueandnamefields, or a numeric vector.- silent
Optional Logical: Whether the series is silent.
- legend_hover_link
Optional Logical: Whether to highlight related legends on hover.
- color
Optional Character: Series color override.
- z_level
Optional Numeric: Canvas layer index.
- z
Optional Numeric: Front-back order within the same layer.
- center
Optional Numeric or Character: Pie center as a length-2 vector.
- radius
Optional Numeric or Character: Pie radius.
- rose_type
Optional Character {"radius", "area"}: Nightingale chart type.
- clockwise
Optional Logical: Whether to lay out sectors clockwise.
- start_angle
Optional Numeric: Starting angle in degrees.
- end_angle
Optional Numeric or Character {"auto"}: Ending angle in degrees.
- pad_angle
Optional Numeric
[0, Inf): Padding angle between sectors in degrees.- min_angle
Optional Numeric
[0, Inf): Minimum sector angle.- min_show_label_angle
Optional Numeric
[0, Inf): Minimum angle required to show labels.- selected_offset
Optional Numeric
[0, Inf): Offset of a selected sector.- avoid_label_overlap
Optional Logical: Whether to avoid label overlap automatically.
- percent_precision
Optional Numeric
[0, Inf): Decimal precision for percentages.- still_show_zero_sum
Optional Logical: Whether to show the pie when all values are zero.
- animation_type
Optional Character {"expansion", "scale"}: First-render animation type.
- item_style
Optional ItemStyle: Pie-sector styling.
- label
Optional LabelOption: Data-label configuration.
- label_line
Optional LabelLine: Label connector line configuration.
- left
Optional Numeric or Character: Left position.
- right
Optional Numeric or Character: Right position.
- top
Optional Numeric or Character: Top position.
- bottom
Optional Numeric or Character: Bottom position.
Details
Corresponds to PieSeriesOption in src/chart/pie/PieSeries.ts (line 105).
ECharts docs: https://echarts.apache.org/en/option.html#series-pie