angle_axis: Angle axis

Description Usage Arguments See Also Examples

Description

Customise angle axis.

Usage

1
2
3
e_angle_axis(e, serie, show = TRUE, ...)

e_angle_axis_(e, serie = NULL, show = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts.

serie

Serie to use as axis labels.

show

Whether to display the axis.

...

Any other option to pass, check See Also section.

See Also

Additional arguments

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
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)

JohnCoene/echarts4r documentation built on Sept. 18, 2019, 2:24 a.m.