Customise angle axis.
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.- serie
Serie to use as axis labels.
- show
Whether to display the axis.
- ...
Any other option to pass, check See Also section.
Examples
df <- data.frame(x = 1:100, y = seq(1, 200, by = 2))
df |>
e_charts(x) |>
e_polar(FALSE) |>
e_angle_axis(FALSE) |>
e_radius_axis(FALSE) |>
e_line(y, coord_system = "polar", smooth = TRUE) |>
e_legend(show = FALSE)
df <- data.frame(x = LETTERS[1:5], y = runif(5))
df |>
e_charts(x) |>
e_polar() |>
e_angle_axis(x) |>
e_radius_axis() |>
e_line(y, coord_system = "polar", smooth = TRUE)