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 Feb. 23, 2024, 9:18 a.m.