Draw segmented doughnut.
Arguments
- e
An
echarts4robject as returned bye_chartsor a proxy as returned byecharts4rProxy.- numerator, denominator
numeraetor to provide filled segments and denominator for total segments.
- formatter
javascript string formatter for center text of chart.
- fontSize, fontColor
font values for center text of chart.
- center, radius
center provides relative position of the center of chart while radius provides the radius of your circle for outer segments.
- rm_x, rm_y
Whether to remove x and y axis, defaults to
TRUE.- ...
Any other option to pass, check See Also section.
Examples
e_chart() |>
e_doughnut(numerator = 3, denominator = 6)
