From bdb44ed82fd2f7cb12aaa19b35708eef67656eae Mon Sep 17 00:00:00 2001 From: gnoblet Date: Wed, 21 Dec 2022 11:40:48 -0500 Subject: [PATCH] Add missing documentation --- R/bar.R | 3 +++ R/theme_reach.R | 2 ++ 2 files changed, 5 insertions(+) diff --git a/R/bar.R b/R/bar.R index db4bfd3..8a9216e 100644 --- a/R/bar.R +++ b/R/bar.R @@ -16,6 +16,9 @@ #' @param caption Plot caption. Default to NULL. #' @param add_text TRUE or FALSE. Add the value as text. #' @param add_text_suffix If percent is FALSE, should we add a suffix to the text label? +#' @param title_wrap Wrap title, number of characters. +#' @param subtitle_wrap Wrap subtitle, number of characters. +#' @param caption_wrap Wrap caption, number of characters. #' @param theme Whatever theme. Default to theme_reach(). #' #' @return A bar chart diff --git a/R/theme_reach.R b/R/theme_reach.R index 25d8825..30784a6 100644 --- a/R/theme_reach.R +++ b/R/theme_reach.R @@ -16,6 +16,8 @@ #' @param legend_reverse Reverse the color in the guide? Default to TRUE. #' @param axis_x Boolean. Do you need x-axis? #' @param axis_y Boolean. Do you need y-axis? +#' @param axis_text_size Axis text size. +#' @param axis_title_size Axis title size. #' @param grid_x Boolean. Do you need major grid lines for x-axis? #' @param grid_y Boolean. Do you need major grid lines for y-axis? #' @param grid_x_size X line size.