echarts4r: liquid fill color

The name of the pictureThe name of the pictureThe name of the pictureClash 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.
enter image description here




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)



enter image description here






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.

Popular posts from this blog

Firebase Auth - with Email and Password - Check user already registered

Dynamically update html content plain JS

How to determine optimal route across keyboard