View source: R/theme_kpitools.R
theme_kpitools | R Documentation |
ggplot2
themeTheme based on theme_bw
and removing y-axis and moving the legend to beneath the plot.
theme_kpitools()
ggplot2
theme object
kpi <- mtcars %>%
kpi("mpg", by = "cyl", txt = "MPG")
# without the theme
plot(kpi)$cyl
# with the theme
plot(kpi)$cyl +
theme_kpitools()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.