ggplot2
R/theme_kpitools.R
theme_kpitools.Rd
Theme based on theme_bw and removing y-axis and moving the legend to beneath the plot.
theme_bw
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()