echarts4r: liquid fill color
Clash Royale CLAN TAG#URR8PPP
echarts4r: liquid fill color
How can I change the colors in e_liquid? Here is my latest attempt:
liquid <- data.frame(val = c(0.2, 0.2),
col = c("red", "red"))
liquid %>%
e_charts() %>%
e_liquid(serie = val, color = col)
You can see it isn't red.
1 Answer
1
Apologies, that was a bug.
Reinstall devtools::install_github("JohnCoene/echarts4r")
Then rerun
devtools::install_github("JohnCoene/echarts4r")
library(echarts4r)
liquid <- data.frame(val = c(0.2, 0.3),
col = c("red", "blue"))
liquid %>%
e_charts() %>%
e_liquid(serie = val, color = col)
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.