-
-
Notifications
You must be signed in to change notification settings - Fork 81
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
e_radar some parameters don't work #98
Comments
I'm afraid radar series do not have |
I want to draw multiple radar, like this. In this example, I find center parameter can adjust position, radius parameter can adjust size. |
OK. Coming back to this issue. I apologise, I was a bit hasty in saying it's not doable. There is indeed a
install.packages("remotes")
remotes::install_github("JohnCoene/echarts4r")
The example below produces pretty much the same output as you want, df <- data.frame(
x = LETTERS[1:5],
y = runif(5, 1, 5),
z = runif(5, 3, 7),
w = runif(5, 2, 6)
)
r1 <- df %>%
e_charts(x, elementId = "radar1") %>%
e_radar(y, max = 7) %>%
e_radar_opts(center = c("50%", "35%"))
r2 <- df %>%
e_charts(x, elementId = "radar2") %>%
e_radar(z, max = 7)
r3 <- df %>%
e_charts(x, elementId = "radar3") %>%
e_radar(w, max = 7) %>%
e_radar_opts(center = c("50%", "35%")) %>%
e_connect(c("radar1", "radar2", "radar3")) # connect
e_arrange(r1, r2, r3, cols = 3, rows = 1) I hope this helps. |
It's a very good solution . Thank you ! |
Hi John,
when I want to change the radar layout, I find (center, radius )parameters don't work. Below is my code.
The text was updated successfully, but these errors were encountered: