-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
18 changed files
with
108 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
Package: streamgraph | ||
Type: Package | ||
Title: streamgraph is an htmlwidget for building streamgraph visualizations | ||
Version: 0.5.1 | ||
Date: 2015-02-15 | ||
Version: 0.7 | ||
Date: 2015-03-12 | ||
Author: Bob Rudis (@hrbrmstr) | ||
Maintainer: Bob Rudis <[email protected]> | ||
Description: A streamgraph (or "stream graph") is a type of stacked area graph | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,33 @@ | ||
% Generated by roxygen2 (4.1.0.9000): do not edit by hand | ||
% Generated by roxygen2 (4.1.0): do not edit by hand | ||
% Please edit documentation in R/streamgraph.R | ||
\name{sg_add_marker} | ||
\alias{sg_add_marker} | ||
\title{Add a vertical marker (with optional label) to streamgraph} | ||
\usage{ | ||
sg_add_marker(sg, x, stroke_width = 0.5, stroke = "#7f7f7f", space = 5, | ||
y = 0, label = "", color = "#7f7f7f", size = 12) | ||
sg_add_marker(sg, x, label = "", stroke_width = 0.5, stroke = "#7f7f7f", | ||
space = 5, y = 0, color = "#7f7f7f", size = 12, anchor = "start") | ||
} | ||
\arguments{ | ||
\item{x}{horizontal position} | ||
|
||
\item{label}{text for the annotation} | ||
|
||
\item{stroke_width}{line width} | ||
|
||
\item{stroke}{line color} | ||
|
||
\item{space}{space (in points) from the marker to place the label} | ||
|
||
\item{y}{vertical position} | ||
|
||
\item{color}{color of the label} | ||
|
||
\item{size}{font size#'} | ||
|
||
\item{anchor}{how to justify the label (one of \code{start} [left], | ||
\code{middle} [center] or \code{end} [right])} | ||
} | ||
\description{ | ||
Add a vertical marker (with optional label) to streamgraph | ||
This is useful for marking/labeling notable events along the streams. | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,25 @@ | ||
% Generated by roxygen2 (4.1.0.9000): do not edit by hand | ||
% Generated by roxygen2 (4.1.0): do not edit by hand | ||
% Please edit documentation in R/streamgraph.R | ||
\name{sg_annotate} | ||
\alias{sg_annotate} | ||
\title{Add text annotation to streamgraph} | ||
\usage{ | ||
sg_annotate(sg, label, x, y, color = "black", size = "12") | ||
sg_annotate(sg, label, x, y, color = "black", size = 12) | ||
} | ||
\arguments{ | ||
\item{label}{text for the annotation} | ||
|
||
\item{x}{horizontal position} | ||
|
||
\item{y}{vertical position} | ||
|
||
\item{color}{color of the label} | ||
|
||
\item{size}{font size} | ||
} | ||
\description{ | ||
Add text annotation to streamgraph | ||
Use this function to place text at any point on a streamgraph. This | ||
is especially useful for non-interactive streamgraphs (i.e. to label | ||
a particular stream). | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters