Example of Baseline in React Gantt Component

/
/
Baseline

This sample visualizes the complete car service schedule using the React Gantt Chart. Baselines are enabled to highlight deviations between planned and actual service dates, helping track schedule accuracy across all tasks and milestones.

More Details...

Planning phase
7/4/20257/16/2025
Initiate phase
7/4/2025
7/4/20257/4/20257/4/2025
Create job card
7/4/2025
7/4/20257/4/20257/4/2025
Allot mechanic
7/4/2025
7/6/20257/5/20257/7/2025
Inspect belt
7/9/2025
7/11/20257/8/20257/10/2025
Check battery
7/7/2025
7/8/20257/8/20257/9/2025
Test alternator
7/11/2025
7/13/20257/11/20257/13/2025
Inspect cooling
7/12/2025
7/14/20257/14/20257/16/2025
Phase end
7/14/2025
7/14/20257/16/20257/16/2025
Execution phase
7/16/20257/24/2025
Initiate phase
7/17/2025
7/17/20257/16/20257/16/2025
Change oil
7/16/2025
7/16/20257/17/20257/17/2025
Replace oil filter
7/18/2025
7/20/20257/18/20257/20/2025
Replace air filter
7/16/2025
7/18/20257/18/20257/20/2025
Replace fuel filter
7/21/2025
7/22/20257/21/20257/22/2025
Replace cabin filter
7/19/2025
7/20/20257/21/20257/22/2025
Replace spark plugs
7/23/2025
7/24/20257/23/20257/24/2025
Phase end
7/23/2025
7/23/20257/24/20257/24/2025
Launch phase
7/24/20258/4/2025
Initiate phase
7/24/2025
7/24/20257/24/20257/24/2025
Refill fluids
7/25/2025
7/26/20257/25/20257/26/2025
Check brakes
7/25/2025
7/26/20257/27/20257/28/2025
Refill steering
7/28/2025
7/29/20257/29/20257/30/2025
Refill transmission
7/30/2025
7/31/20257/29/20257/30/2025
Lubricate components
7/31/2025
8/1/20257/31/20258/1/2025
Wheel balancing
8/1/2025
8/3/20258/2/20258/4/2025
Phase end
8/5/2025
8/5/20258/4/20258/4/2025
Planning phase | 7/4/2025 - 7/16/2025 | 13 days
Execution phase | 7/16/2025 - 7/24/2025 | 8 days
Launch phase | 7/24/2025 - 8/4/2025 | 11 days
Description

In this demo sample, the baseline feature in the React Gantt Chart, which helps visualize the variance between planned and actual task schedules. Baselines provide a clear reference for tracking project deviations and are rendered for all task types including child tasks, parent tasks, and milestones.

To enable baselines in the React Gantt Chart, set the renderBaseline property to true and define the planned schedule using the baselineStartDate field. You can either specify the baselineEndDate directly or use the baselineDuration property to calculate it automatically. Setting baselineDuration to zero is particularly useful for milestones, as it clearly marks a planned point in time. The appearance of baselines can be customized using the baselineColor property to visually distinguish planned timelines from actual task progress.timelines from actual progress.

Gantt component features are segregated into individual feature-wise modules. To use a selection support, inject the Selection module.



More information on the Essential® React Gantt Chart can be found in this documentation section.