Description Usage Arguments Value Examples
Set the font family (standard CSS font-family
specification, comma-separated
font names only) and an optional font CSS URL to load the font from.
1 2 3 4 5 | tau_set_font(tau,
family = "OpenSans, 'Helvetica Neue', Helvetica, Arial, sans-serif",
import_url = paste0(c("https://fonts.googleapis.com/css?family=Open+Sans:400,",
"400italic,600,700,600italic,700italic,800,300,300italic,800italic"), collapse
= ""))
|
tau |
taucharts object |
family |
CSS |
import_url |
the |
taucharts object
1 2 3 4 5 6 7 | tauchart(mtcars) %>%
tau_point("mpg", "wt", "cyl") %>%
tau_legend() %>%
tau_color_brewer() %>%
tau_tooltip() %>%
tau_set_font("Montserrat, sans-serif",
"http://fonts.googleapis.com/css?family=Montserrat:400,700")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.