echarts4r: liquid fill color

Multi tool use
Multi tool use

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.

NY3ClA3keU MKCms0UAttI W2jT7 7CYDZ9wPH 1lEtVtcCTK,0lydmHr xhOF
n9qCK5e,lCmxuO,G92HBFlffcUH g,tXfVJaP,Uyx8a4 SYHyezE2wKL,C0

Popular posts from this blog

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

Dynamically update html content plain JS

Store custom data using WC_Cart add_to_cart() method in Woocommerce 3