powered by
Add a theme.
e_theme(e, theme)e_theme_custom(e, theme)
e_theme_custom(e, theme)
An echarts4r object as returned by e_charts.
echarts4r
e_charts
Theme, see below.
dark
vintage
westeros
essos
wonderland
walden
chalk
infographic
macarons
roma
shine
purple-passion
halloween
create your own theme.
# NOT RUN { mtcars %>% e_charts(mpg) %>% e_line(disp) %>% e_area(hp) %>% e_x_axis(min = 10) -> p p %>% e_theme("chalk") p %>% e_theme_custom('{"color":["#ff715e","#ffaf51"]}') # }
Run the code above in your browser using DataLab