echarts4r去除折线图中的圆点

echarts4r remove the circular points in a line chart

使用R的echarts4r包,有没有办法去除线系列中可选择的圆点?例如

mtcars %>% e_charts(mpg) %>% e_title("MTCARS", "Test chart") %>% 
    e_line(drat) %>% e_line(wt)

放大图表,有小圆点

当数据集不多时这还可以,但是当数据集很大时,这些圆圈会产生泡泡浴效果并隐藏线条。

您可以将符号参数更改为 e_line 函数:

library(echarts4r)
mtcars %>% e_charts(mpg) %>% e_title("MTCARS", "Test chart") %>% 
  e_line(drat, symbol='none') %>% e_line(wt, symbol='none')

请参阅:https://echarts.apache.org/en/option.html#series-line 了解更多信息。 :)