GitHub

Gantt

Project and manufacturing Gantt chart with task panel, timeline header, colored bars, progress indicators, milestones, today line, and dependency arrows. Designed for ERPlora production scheduling.

Full Gantt Chart

Preview

ERPlora Q1 Production Schedule

Tasks
Hydraulic Valve Assembly
Material Procurement
CNC Machining
Assembly
Quality Control
Packaging & Ship
Precision Bearing Kit
Raw Material Prep
Grinding & Polish
January 2026
February 2026
March 2026
April 2026
W1
W2
W3
W4
W5
W6
W7
W8
W9
W10
W11
W12
W13
W14
W15
W16
Procurement
CNC Machining
Assembly - 65%
QC
Pack & Ship
Material Prep - Delayed
Grinding - On Hold

Task Bar States

Preview
Status
Not Started
In Progress
Completed
Delayed
On Hold
Group Bar
Week 1
Week 2
Week 3
Week 4
Not Started
In Progress - 45%
Completed
Delayed - 70%
On Hold

Milestones and Today Line

Preview
Milestones
Design Review
Prototype Approved
Production Start
Final Delivery
Jan
Feb
Mar
Apr

Compact Gantt

Preview

ERPlora Sprint Overview

Tasks
Design specs
Prototype build
Testing
Documentation
Release
Mon
Tue
Wed
Thu
Fri
Design
Prototype
Testing
Docs

Classes Reference

Class Description
.ganttRoot container with CSS variables
.gantt-compactCompact variant (32px rows, 18px bars)
.gantt-readonlyDisables bar dragging and resize handles
.gantt-toolbarTop toolbar with title and controls
.gantt-toolbar-startLeft section of toolbar
.gantt-toolbar-endRight section of toolbar
.gantt-titleChart title text
.gantt-zoom-controlsSegmented zoom level buttons
.gantt-zoom-btnIndividual zoom button
.gantt-zoom-btn-activeActive zoom level (primary bg)
.gantt-nav-btnPrevious/next navigation button
.gantt-today-btnScroll-to-today button
.gantt-bodyMain body (flexbox: tasks + chart)
.gantt-tasksLeft task panel (fixed width)
.gantt-tasks-headerTask panel column header
.gantt-tasks-bodyScrollable task list area
.gantt-task-rowSingle task row in panel
.gantt-task-row-selectedSelected row highlight
.gantt-task-row-groupGroup/parent row (bold, bg)
.gantt-task-indentIndentation spacer for child tasks
.gantt-task-expandExpand/collapse toggle button
.gantt-task-expand-expandedRotated chevron (expanded state)
.gantt-task-nameTask name text (truncated)
.gantt-chartRight chart area container
.gantt-chart-scrollScrollable chart viewport
.gantt-chart-innerInner content (set width for total timeline)
.gantt-headerSticky timeline header
.gantt-header-rowHeader row (primary or secondary)
.gantt-header-row-primaryTop-level row with border-bottom
.gantt-header-cellIndividual time period cell
.gantt-header-cell-primaryBold cell text
.gantt-header-cell-todayHighlighted cell for today
.gantt-header-cell-weekendWeekend background tint
.gantt-gridBackground grid overlay
.gantt-grid-rowGrid row with bottom border
.gantt-grid-cellGrid column cell
.gantt-grid-cell-weekendWeekend column background
.gantt-today-lineVertical red line marking today
.gantt-barsContainer for all task bars
.gantt-bar-rowRow wrapper for a bar
.gantt-barTask bar (absolute positioned)
.gantt-bar-not-startedGray bar for not-started tasks
.gantt-bar-in-progressPrimary color bar
.gantt-bar-completedGreen bar for completed tasks
.gantt-bar-delayedRed bar for delayed tasks
.gantt-bar-on-holdWarning/yellow bar for on-hold tasks
.gantt-bar-groupThin group/summary bar with arrow ends
.gantt-bar-selectedSelected bar with ring outline
.gantt-bar-draggingSemi-transparent during drag
.gantt-bar-progressDark overlay showing progress %
.gantt-bar-labelWhite text label inside bar
.gantt-bar-handleResize handle (visible on hover)
.gantt-bar-handle-startLeft resize handle
.gantt-bar-handle-endRight resize handle
.gantt-milestoneDiamond-shaped milestone marker
.gantt-milestone-completedGreen completed milestone
.gantt-milestone-delayedRed delayed milestone
.gantt-resizerDraggable column resizer between panels
.gantt-tooltipHover tooltip container
.gantt-tooltip-visibleShows the tooltip
.gantt-dependenciesSVG container for dependency arrows
.gantt-dependencySVG path for dependency line
.gantt-dependency-arrowSVG arrowhead for dependency
.gantt-emptyEmpty state container