powered by
Add a radar chart
e_radar( e, serie, max = 100, name = NULL, legend = TRUE, rm_x = TRUE, rm_y = TRUE, ..., radar = list() )e_radar_( e, serie, max = 100, name = NULL, legend = TRUE, rm_x = TRUE, rm_y = TRUE, ..., radar = list() )
e_radar_( e, serie, max = 100, name = NULL, legend = TRUE, rm_x = TRUE, rm_y = TRUE, ..., radar = list() )
An echarts4r object as returned by e_charts or a proxy as returned by echarts4rProxy.
echarts4r
e_charts
echarts4rProxy
Column name of serie to plot.
Maximum value.
name of the serie.
Whether to add serie to legend.
Whether to remove x and y axis, defaults to TRUE.
TRUE
Any other option to pass, check See Also section.
A list of options to pass to the radar rather than the serie, see official documentation alternatively, use the e_radar_opts.
list
radar
e_radar_opts
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