Update to v0.5.9000
|
|
@ -11,6 +11,7 @@ bar(
|
|||
group = NULL,
|
||||
flip = TRUE,
|
||||
percent = TRUE,
|
||||
wrap = NULL,
|
||||
position = "dodge",
|
||||
alpha = 1,
|
||||
x_title = NULL,
|
||||
|
|
@ -37,6 +38,8 @@ bar(
|
|||
|
||||
\item{percent}{TRUE or FALSE. Should the x-labels (and text labels if present) be displayed as percentages? Default to TRUE.}
|
||||
|
||||
\item{wrap}{Should x-labels be wrapped? Number of characters.}
|
||||
|
||||
\item{position}{Should the chart be stacked? Default to "dodge". Can take "dodge" and "stack".}
|
||||
|
||||
\item{alpha}{Fill transparency.}
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
|
Before Width: | Height: | Size: 116 KiB After Width: | Height: | Size: 117 KiB |
|
Before Width: | Height: | Size: 303 KiB After Width: | Height: | Size: 303 KiB |
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 145 KiB |
|
|
@ -2,7 +2,7 @@
|
|||
% Please edit documentation in R/point.R
|
||||
\name{point}
|
||||
\alias{point}
|
||||
\title{Simple bar chart}
|
||||
\title{Simple point chart}
|
||||
\usage{
|
||||
point(
|
||||
df,
|
||||
|
|
@ -54,5 +54,5 @@ point(
|
|||
A bar chart
|
||||
}
|
||||
\description{
|
||||
Simple bar chart
|
||||
Simple point chart
|
||||
}
|
||||
|
|
|
|||
|
|
@ -12,20 +12,31 @@ theme_reach(
|
|||
title_size = 12,
|
||||
title_color = cols_reach("main_grey"),
|
||||
title_font_face = "bold",
|
||||
title_position_to_plot = TRUE,
|
||||
text_size = 10,
|
||||
text_color = cols_reach("main_grey"),
|
||||
text_font_face = "bold",
|
||||
text_font_face = "plain",
|
||||
panel_background_color = "#FFFFFF",
|
||||
legend_position = "right",
|
||||
legend_direction = "vertical",
|
||||
legend_reverse = TRUE,
|
||||
legend_title_size = 11,
|
||||
legend_title_color = cols_reach("main_grey"),
|
||||
legend_title_font_face = "plain",
|
||||
axis_x = TRUE,
|
||||
axis_y = TRUE,
|
||||
axis_text_size = 10,
|
||||
axis_text_color = cols_reach("main_grey"),
|
||||
axis_text_font_face = "plain",
|
||||
axis_title_size = 11,
|
||||
axis_title_color = cols_reach("main_grey"),
|
||||
axis_title_font_face = "bold",
|
||||
grid_x = FALSE,
|
||||
grid_y = FALSE,
|
||||
grid_color = cols_reach("main_lt_grey"),
|
||||
grid_x_size = 0.1,
|
||||
grid_y_size = 0.1,
|
||||
caption_position_to_plot = TRUE,
|
||||
...
|
||||
)
|
||||
}
|
||||
|
|
@ -38,11 +49,13 @@ theme_reach(
|
|||
|
||||
\item{font_family}{The font family for all plot's texts. Default to "Leelawadee".}
|
||||
|
||||
\item{title_size}{The size of the title. Defaults to 12.}
|
||||
\item{title_size}{The size of the legend title. Defaults to 11.}
|
||||
|
||||
\item{title_color}{Title color.}
|
||||
\item{title_color}{Legend title color.}
|
||||
|
||||
\item{title_font_face}{Title font face. Default to "bold". Font face ("plain", "italic", "bold", "bold.italic").}
|
||||
\item{title_font_face}{Legend title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").}
|
||||
|
||||
\item{title_position_to_plot}{TRUE or FALSE. Positioning to plot or to panel?}
|
||||
|
||||
\item{text_size}{The size of all text other than the title, subtitle and caption. Defaults to 10.}
|
||||
|
||||
|
|
@ -58,10 +71,28 @@ theme_reach(
|
|||
|
||||
\item{legend_reverse}{Reverse the color in the guide? Default to TRUE.}
|
||||
|
||||
\item{legend_title_size}{Legend title size.}
|
||||
|
||||
\item{legend_title_color}{Legend title color.}
|
||||
|
||||
\item{legend_title_font_face}{Legend title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").}
|
||||
|
||||
\item{axis_x}{Boolean. Do you need x-axis?}
|
||||
|
||||
\item{axis_y}{Boolean. Do you need y-axis?}
|
||||
|
||||
\item{axis_text_size}{Axis text size.}
|
||||
|
||||
\item{axis_text_color}{Axis text color.}
|
||||
|
||||
\item{axis_text_font_face}{Axis text font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").}
|
||||
|
||||
\item{axis_title_size}{Axis title size.}
|
||||
|
||||
\item{axis_title_color}{Axis title color.}
|
||||
|
||||
\item{axis_title_font_face}{Axis title font face. Default to "plain". Font face ("plain", "italic", "bold", "bold.italic").}
|
||||
|
||||
\item{grid_x}{Boolean. Do you need major grid lines for x-axis?}
|
||||
|
||||
\item{grid_y}{Boolean. Do you need major grid lines for y-axis?}
|
||||
|
|
@ -72,6 +103,8 @@ theme_reach(
|
|||
|
||||
\item{grid_y_size}{Y line size.}
|
||||
|
||||
\item{caption_position_to_plot}{TRUE or FALSE. Positioning to plot or to panel?}
|
||||
|
||||
\item{...}{Additional arguments passed to `ggplot2::gg_theme()`.}
|
||||
}
|
||||
\value{
|
||||
|
|
|
|||