Added text sizes as params
This commit is contained in:
parent
d349e6a6d3
commit
bdee722ce1
7 changed files with 65 additions and 11 deletions
11
man/hbar.Rd
11
man/hbar.Rd
|
|
@ -16,10 +16,13 @@ hbar(
|
|||
y_title = "",
|
||||
group_title = NULL,
|
||||
font_family = "Leelawadee",
|
||||
font_size = 12,
|
||||
position = "dodge",
|
||||
reverse = FALSE,
|
||||
title = "",
|
||||
subtitle = "",
|
||||
title_font_size = 16,
|
||||
subtitle_font_size = 14,
|
||||
...
|
||||
)
|
||||
}
|
||||
|
|
@ -36,7 +39,7 @@ hbar(
|
|||
|
||||
\item{pal}{The color palette from the initiative}
|
||||
|
||||
\item{width}{Width.}
|
||||
\item{width}{Width}
|
||||
|
||||
\item{x_title}{The x scale title. Default to empty string}
|
||||
|
||||
|
|
@ -46,6 +49,8 @@ hbar(
|
|||
|
||||
\item{font_family}{The font family. Default to "Leelawadee"}
|
||||
|
||||
\item{font_size}{Body font size; default to 12}
|
||||
|
||||
\item{position}{Should the chart be stacked? Default to dodge}
|
||||
|
||||
\item{reverse}{Boolean indicating whether the color palette should be reversed}
|
||||
|
|
@ -54,6 +59,10 @@ hbar(
|
|||
|
||||
\item{subtitle}{Plot subtitle. Default to empty string}
|
||||
|
||||
\item{title_font_size}{Default to 16}
|
||||
|
||||
\item{subtitle_font_size}{Default to 14}
|
||||
|
||||
\item{...}{Other arguments to be passed to "ggblanket::gg_col"}
|
||||
}
|
||||
\value{
|
||||
|
|
|
|||
|
|
@ -16,10 +16,13 @@ hbar_percent(
|
|||
y_title = "",
|
||||
group_title = NULL,
|
||||
font_family = "Leelawadee",
|
||||
font_size = 12,
|
||||
position = "dodge",
|
||||
reverse = FALSE,
|
||||
title = "",
|
||||
subtitle = "",
|
||||
title_font_size = 16,
|
||||
subtitle_font_size = 14,
|
||||
...
|
||||
)
|
||||
}
|
||||
|
|
@ -36,7 +39,7 @@ hbar_percent(
|
|||
|
||||
\item{pal}{The color palette from the initiative}
|
||||
|
||||
\item{width}{Width.}
|
||||
\item{width}{Width}
|
||||
|
||||
\item{x_title}{The x scale title. Default to empty string}
|
||||
|
||||
|
|
@ -46,6 +49,8 @@ hbar_percent(
|
|||
|
||||
\item{font_family}{The font family. Default to "Leelawadee"}
|
||||
|
||||
\item{font_size}{Body font size; default to 12}
|
||||
|
||||
\item{position}{Should the chart be stacked? Default to dodge}
|
||||
|
||||
\item{reverse}{Boolean indicating whether the color palette should be reversed}
|
||||
|
|
@ -54,6 +59,10 @@ hbar_percent(
|
|||
|
||||
\item{subtitle}{Plot subtitle. Default to empty string}
|
||||
|
||||
\item{title_font_size}{Default to 16}
|
||||
|
||||
\item{subtitle_font_size}{Default to 14}
|
||||
|
||||
\item{...}{Other arguments to be passed to "ggblanket::gg_col"}
|
||||
}
|
||||
\value{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue