Lumeo

Gantt (Legacy)

The original SVG-based Gantt engine. Kept for backward compatibility — new projects should use GanttChart.

Installation

dotnet add package Lumeo.Gantt

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Gantt />

Drag a bar to move it, or drag the right edge to resize. Drag the progress handle (bottom of the bar) to change completion.

Last change
Drag a bar to see it here.

Use the built-in toolbar above the chart to toggle between Day, Week, Month, and Year. Pass GanttViewMode.QuarterDay or GanttViewMode.HalfDay programmatically for hour-granularity views.

Pass a GroupBy function and/or set GroupLabel on each GanttTask. Tasks are sorted by group and a section-header row is injected before the first task of each group.

Set Readonly="true" to lock the chart — bars can't be dragged or resized.

API Reference

Gantt

GanttTask

Field Type Description
IdstringStable identifier used to reconcile drag edits back into the caller's collection.
NamestringThe label rendered on the task bar.
StartDateTimeStart date (inclusive). Frappe Gantt works at day granularity.
EndDateTimeEnd date.
ProgressintCompletion percentage, 0–100. Drives the progress fill inside the bar.
Dependenciesstring[]?Ids of tasks this task depends on. Rendered as arrows in the chart. Read-only; interactive link creation is not supported by the SVG engine.
CustomClassstring?Extra CSS class applied to the bar — use to color-code milestones or delayed work.
IsMilestoneboolWhen true, renders as a diamond at the Start date. End is clamped to Start. Drag is suppressed for milestones.
GroupLabelstring?Optional swim-lane label. When the Gantt's GroupBy parameter is set, tasks carrying the same GroupLabel are clustered together with a section header.
  • GanttChart — the actively developed engine: hierarchy, commit gate, 7 zoom levels.
  • Scheduler — calendar-style event grid when you care about time-of-day rather than project phases.
  • Data Grid — tabular view of the same task data when a timeline isn't needed.