我正试着用echarts4R
图书馆中的e_liquid()
制作一张流动图.
所以这是一个来自https://echarts4r.john-coene.com/articles/chart_types.html#liquifill的代码:
liquid <- data.frame(val = c(0.2, 0.5, 0.4))
liquid |>
e_charts() |>
e_liquid(val) |>
e_theme( name = "dark")
我想要change the color,e_liquid()
中有一个color
参数,但它只能接受列名.
谢谢你的帮助.