TGanttSeries.NextTask
TGanttSeries
property NextTask: TChartValueList;
Unit
GanttCh
Description
The NextTask property is a TList component that holds the Gantt bar index each Gantt bar is connected to.
When a Gantt bar is added to TGanttSeries, it's NextTask value is assigned to -1 by default. That means the Gantt bar is NOT connected to any other Gantt Bar.
You need to set a valid bar index to NextTask.