Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

export("%>%")
export(renderStreamgraph)
export(sg_add_marker)
export(sg_annotate)
export(sg_axis_x)
export(sg_axis_y)
Expand Down
3 changes: 2 additions & 1 deletion R/marker.r
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,10 @@
#' @param space space (in points) from the marker to place the label
#' @param y vertical position
#' @param color color of the label
#' @param size font size#' @export
#' @param size font size
#' @param anchor how to justify the label (one of \code{start} [left],
#' \code{middle} [center] or \code{end} [right])
#' @export
sg_add_marker <- function(sg, x, label="", stroke_width=0.5, stroke="#7f7f7f", space=5,
y=0, color="#7f7f7f", size=12, anchor="start") {

Expand Down