ec.global {echarty}R Documentation

Global options

Description

Set a global theme, font and/or tile URL

Usage

ec.global(options = NULL)

Arguments

options

A list of options:
theme = name of theme file (without extension), from folder /inst/themes
font = font family name
urltiles = tiles URL template for leaflet maps

Details

To get these values in code use getOption. Revert back to default by setting them to NULL. More list components could be added in the future.

Value

none, setting values only

Examples

ec.global(list(theme = 'dark'))
cars %>% ec.init()
ec.global(list(theme = NULL))
cars %>% ec.init()


[Package echarty version 0.2.0 Index]