图表中的线型如何与图例匹配?
library(echarts4r)
df <- data.frame(
x = seq(50),
y = rnorm(50, 10, 3),
z = rnorm(50, 10, 3)
)
df %>%
e_charts(x) %>%
e_line(y, showSymbol = FALSE, lineStyle = list(type = "dashed")) %>%
e_line(z, showSymbol = FALSE, lineStyle = list(type = "dotted"))
字符串
在输出中,图例显示带有圆圈的线-如果它显示实际的线类型会更好,或者至少没有圆圈,例如:-- y,- z
1条答案
按热度按时间zsohkypk1#
显然,图例与线型不匹配:https://github.com/JohnCoene/echarts4r/issues/188