Description Usage Arguments Details Value See Also Examples
View source: R/viz-gantt.R View source: R/draft/viz-gantt.R View source: R/draft/ZZZ-viz-gantt.R
Produces plot with one vertical bar from the specified
start variable's value to the
end variable's value. Common uses would be to visualize time-to-completion for issues
gotten by (
parse_issues) or milestones. Bars are colored by
duration with longer bars as a darker shade of blue, and start/completion is denoted by
points at the ends of the bars.
Dataset, such as those representing issues or milestones (i.e.
Unquoted variable name denoting issue start date
Unquoted variable name denoting issue end date
Number of characters before text of issue title begins to wrap
By default, the start date is the issue's
created_at date, and the end date is
closed_at date. However, either of these can be altered via the
end parameters since these dates might not be reflective of the
true timeframe (e.g. if issues are posted well in advance of work beginning.)
Unfinished tasks (where the value of the
end variable is
NA) are colored grey and
do not have dots on their bars. Unstarted tasks are dropped because user intent is ambiguous
in that case.
1 2 3 4 5 6
## Not run: issues <- get_issues(myrepo, state = "closed") issues_df <- parse_issues(issues) viz_gantt(issues_df) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.