Closed gacolitti closed 1 year ago
Yes, sorry, this is going to be overridden.
Use e_line
with areaStyle
.
(In echarts.js an area chart is essentially this: a line with areaStyle
)
Yep, I should have thought of trying that. Thanks!
Here it is again with e_line()
:
library(echarts4r)
library(magrittr)
data.frame(x = seq.int(1, 5, 1),
y = 10) %>%
e_chart(x = x) %>%
e_line(
serie = y,
areaStyle = list(opacity = 0),
lineStyle = list(opacity = 0),
itemStyle = list(opacity = 0)
)
@gacolitti I think you can close the issue 🙂, thanks!
I can pass a lineStyle and itemStyle to
e_area()
, butareaStyle
does not work.For example:
Please see this stackoverflow.