Learn R Programming

echarts4r (version 0.1.1)

e_radar: Radar

Description

Add a radar chart

Usage

e_radar(e, serie, max = 100, name = NULL, legend = TRUE,
  rm.x = TRUE, rm.y = TRUE, ...)

e_radar_(e, serie, max = 100, name = NULL, legend = TRUE, rm.x = TRUE, rm.y = TRUE, ...)

Arguments

e

An echarts4r object as returned by e_charts.

serie

Column name of serie to plot.

max

Maximum value.

name

name of the serie.

legend

Whether to add serie to legend.

rm.x, rm.y

Whether to remove x and y axis, defaults to TRUE.

...

Any other option to pass, check See Also section.

Examples

Run this code
# NOT RUN {
df <- data.frame(
  x = LETTERS[1:5],
  y = runif(5, 1, 5),
  z = runif(5, 3, 7)
)

df %>% 
  e_charts(x) %>%  
  e_radar(y, max = 7) %>% 
  e_radar(z) %>% 
  e_tooltip(trigger = "item")

# }

Run the code above in your browser using DataLab