gantt_by_sections.Rd
The gantt-chart shows one block for every defined section and uses resources to color the rectangles.
gantt_by_sections(dt, xlim, show_dependencies = FALSE, text_size = 3)
dt |
|
---|---|
xlim | limits for the x-axis |
show_dependencies | visualize the dependencies between the tasks as arrows |
text_size | size of the font |
ggplot2-object displaying a gantt-chart
raw_plan <- import_xlsx(system.file("template","projects.xlsx", package = "projectPlan")) pre_plan <- wrangle_raw_plan(raw_plan) prj_plan <- calculate_time_lines(pre_plan)#> WARN -- 2019-12-28 09:25:26 -- projectPlan/h.exclude_weekends(earliest_start_time, end): start 2019-12-28 is on a weekend. Shift end 2019-12-29 by 2 day(s).gantt_by_sections(prj_plan, show_dependencies = TRUE)