Implementation of graphical profile used by the annual report and more.
theme_slr(
axis_text_angle = NULL,
legend.position = "bottom",
legend.justification = legend.position,
legend_title = FALSE,
text_size = 7,
subtitle_size = 8,
title_size = 9,
title_hjust = 0.5,
subtitle = FALSE,
x_lab_exists = FALSE,
title_margin = if (subtitle) 1 else title_size/2
)
passed to
axis.text.x = element_text(angle = axis_text_angle)
the position of legends ("none", "left", "right", "bottom", "top", or two-element numeric vector)
anchor point for positioning legend inside plot ("center" or two-element numeric vector) or the justification according to the plot area when positioned outside the plot
Include legend title (boolean)
Text size for most text, title and subtitle
passed to
plot.title = element_text(hjust = title_hjust, margin = margin(b = title_margin)
is a subtitle used in the figure (boolean)?
Indicator if x label should be blank or not
Modified version of theme_classic()