Description Usage Arguments Value Author(s) See Also Examples
A theme inspired by the RStudio 'Tomorrow Night Blue' editor theme
| 1 2 3 4 5 6 7 8 | theme_nightblue(
  base_size = 13,
  base_family = "Cooper Hewitt",
  header_family = "Cooper Hewitt",
  axis = "",
  ticks = "",
  grid = ""
)
 | 
| base_size | 
 | 
| base_family | 
 | 
| header_family | 
 | 
| axis | 
 | 
| ticks | 
 | 
| grid | 
 | 
An object of class theme
Thomas Neitmann
For more details see the 'theme' vignette:
vignette("theme", package = "ggcharts")
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | library(ggplot2)
library(dplyr)
scatter <- ggplot(mtcars, aes(hp, mpg)) +
  geom_point(color = "#EBBBFF")
scatter + theme_nightblue()
scatter + theme_nightblue(grid = "XY")
scatter + theme_nightblue(axis = "xy", ticks = "xy")
bar_chart(ggplot2::diamonds, cut, bar_color = "darkorange") +
  theme_nightblue(axis = "y", grid = "Y")
column_chart(ggplot2::diamonds, cut, bar_color = "darkorange") +
  theme_nightblue(axis = "x", grid = "X")
ggcharts::biomedicalrevenue %>%
  filter(company == "Roche") %>%
  ggplot(aes(year, revenue)) +
  geom_line(color = "yellow", size = 1) +
  scale_y_continuous(expand = expand_scale(c(0, .05))) +
  theme_nightblue(grid = "X", axis = "x", ticks = "x")
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.