Customise chart and background colors.
Usage
e_color(e, color = NULL, background = NULL, append = TRUE)
# S3 method for echarts4r
e_color(e, color = NULL, background = NULL, append = TRUE)
# S3 method for echarts4rProxy
e_color(e, color = NULL, background = NULL, append = TRUE)
Arguments
- e
An
echarts4r
object as returned bye_charts
or a proxy as returned byecharts4rProxy
.- color
Vector of colors.
- background
Background color.
- append
Only applicable to `echarts4rProxy`. Whether to append the `color` to the existing array (vector) or colors or to replace it.