e_polar: Polar

View source: R/opts.R

e_polarR Documentation

Polar

Description

Customise polar coordinates.

Usage

e_polar(e, show = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.

show

Whether to display the axis.

...

Any other option to pass, check See Also section.

See Also

Additional arguments

Examples

df <- data.frame(x = 1:10, y = seq(1, 20, by = 2))

df |>
  e_charts(x) |>
  e_polar() |>
  e_angle_axis() |>
  e_radius_axis() |>
  e_line(y, coord.system = "polar", smooth = TRUE)

echarts4r documentation built on July 9, 2023, 7:26 p.m.