NEWS.md
MM/DD/YYYY format with single-pass parsing. Dramatically faster on large datasets. Users can specify alternative format via date_format parameter.MM/DD/YYYY (default, e.g. "09/15/2024"), Date class objects, or custom formats via optional date_format parameter (e.g. "%Y-%m-%d" for ISO).parse_date_flex() helper with configurable date_format parameter (default: "%m/%d/%Y").generate_hover_points() handles reversed dates gracefully (End < Start) without crashing.format_label() renders date placeholders in MM/DD/YYYY.test_project) uses MM/DD/YYYY date strings.y = c(0.5, total_rows + 0.5) for consistent visibility across the full chart.display_config$milestone$hide_label_levels parameter to suppress text annotations for milestones at specific label_level values while keeping hover tooltips intact. For example, set to c(1) to hide all level-1 milestone labels. Default NULL shows all labels (fully backwards-compatible).label_level parameter to milestone markers for vertical stacking of labels. Set to 1 or 2 to control which labels appear above others when milestones are close together.
milestones <- data.frame(
label = c("Kickoff", "Budget Approval"),
color = c("blue", "green"),
label_level = c(1, 2) # Level 1 appears above level 2
)
milestones$date <- list("01/05/2025", "01/10/2025")tooltip_config$milestone. Add any columns to your milestone data frame and display them in hover tooltips.
milestones <- data.frame(
label = c("Kickoff", "Review Period"),
color = c("blue", "purple"),
Description = c("Project kickoff meeting", "Technical review"),
Owner = c("PM", "Tech Lead")
)
milestones$date <- list("01/05/2025", c("02/10/2025", "02/20/2025"))
Ganttify(
...,
milestone_lines = milestones,
tooltip_config = list(
milestone = c("Description", "Owner")
)
)date field to specify either a single date (vertical line) or two dates (shaded area).
milestones <- data.frame(
label = c("Deadline", "Review Period"),
color = c("red", "blue"),
fill_opacity = c(1, 0.15)
)
milestones$date <- list(
"12/01/2024", # Single date = line
c("10/01/2024", "10/31/2024") # Two dates = shaded area
)show_yaxis_labels to layout_config to hide y-axis labels. When set to FALSE, activity labels are hidden. If display_config$wbs$show_labels is TRUE, WBS labels will still be shown.
layout_config = list(show_yaxis_labels = FALSE)Sys.Date() in milestone_lines.color_config parameter with three modes: “wbs”, “uniform”, and “attribute”.bar_config parameter for bar styling (opacity, height, dim_past_activities).display_config parameter to control visibility of WBS/activities.label_config parameter for custom label templates.