# NOT RUN {
data("diamonds", package = "ggplot2")
## By default `theme_ggcharts()` is used
ggcharts_get_theme()
bar_chart(diamonds, cut)
ggcharts_set_theme("theme_hermit")
bar_chart(diamonds, cut)
ggcharts_set_theme("theme_ng")
bar_chart(diamonds, cut)
ggcharts_set_theme("theme_nightblue", base_size = 16, base_family = "serif")
bar_chart(diamonds, cut)
## Restore the default
ggcharts_set_theme("theme_ggcharts")
# }
Run the code above in your browser using DataLab