powered by
Customise the legend.
e_legend(e, show = TRUE, type = c("plain", "scroll"), ...)
An echarts4r object as returned by e_charts.
echarts4r
e_charts
Set to FALSE to hide the legend.
FALSE
Type of legend, plain or scroll.
plain
scroll
Any other option to pass, check See Also section.
Additional arguments
# NOT RUN { mtcars %>% head() %>% dplyr::mutate(model = row.names(.)) %>% e_charts(model) %>% e_pie(carb) %>% e_legend(FALSE) # }
Run the code above in your browser using DataLab