Baselines are a PRO feature. See licensing and trial info.
The baselines Prop
Set baselines={true} on the <Gantt> component to enable baseline rendering:
Baseline Fields on Tasks
Baseline data is stored directly on each task object using three reserved fields:A task only renders a baseline bar if at least
base_start and base_end are defined. Tasks without baseline fields display normally with no secondary bar.Example Tasks with Baseline Data
Full Example
How Baselines Are Rendered
- Each task row renders its main bar at the normal vertical position.
- A second, smaller bar is drawn below it using the
base_startandbase_endvalues. - The baseline bar uses a distinct visual style (typically a muted/outlined style) so it is clearly differentiated from the current schedule.
- Tasks with no baseline fields are unaffected and render as normal.