theme_kpitools: kpitools 'ggplot2' theme

View source: R/theme_kpitools.R

theme_kpitoolsR Documentation

kpitools ggplot2 theme

Description

Theme based on theme_bw and removing y-axis and moving the legend to beneath the plot.

Usage

theme_kpitools()

Value

ggplot2 theme object

Examples

kpi <- mtcars %>%
  kpi("mpg", by = "cyl", txt = "MPG")

# without the theme
plot(kpi)$cyl
# with the theme
plot(kpi)$cyl +
  theme_kpitools()

CTU-Bern/kpitools documentation built on Aug. 19, 2024, 4:58 a.m.