R/general.R

Defines functions e_common

Documented in e_common

#' General options
#'
#' @param font_family Font family.
#' @param theme A theme.
#'
#' @export
e_common <- function(font_family = NULL, theme = NULL) {
  options(
    "ECHARTS4R_THEME" = theme,
    "ECHARTS4R_FONT_FAMILY" = font_family
  )
}
JohnCoene/echarts4 documentation built on Sept. 14, 2021, 2:40 a.m.