Skip to content

Feature/min max boundaries#599

Open
rachit-wtc-sharma-coder wants to merge 3 commits intofrappe:masterfrom
rachit-wtc-sharma-coder:feature/min-max-boundaries
Open

Feature/min max boundaries#599
rachit-wtc-sharma-coder wants to merge 3 commits intofrappe:masterfrom
rachit-wtc-sharma-coder:feature/min-max-boundaries

Conversation

@rachit-wtc-sharma-coder
Copy link
Copy Markdown

@rachit-wtc-sharma-coder rachit-wtc-sharma-coder commented Feb 6, 2026

Add Min/Max Date Boundaries to Gantt Chart
Summary:
This PR introduces two new options, min_date and max_date, to the Gantt chart. These options allow users to define the minimum and maximum date boundaries for the chart.

Key Features:

min_date and max_date options: Restrict the visible and interactive date range of the chart.
Disabled out-of-bound dates: Dates before min_date and after max_date are visually disabled.
Boundary lines: Vertical lines are drawn at the min and max boundaries for clear visual indication.
Bar restrictions: Task bars cannot be moved or resized outside the defined boundaries.
Consistent logic: Both dragging and resizing are clamped to the boundaries.
Usage Example:

Motivation:
These changes improve project planning accuracy and prevent tasks from being scheduled outside the allowed timeframe.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant