Baseline (Actual/Planned) Tasks Chart
Overview
Very often it is required to compare the progress of work with what was planned - so called actual/planned tasks or baseline chart.
AnyGantt allows to create such charts easily and provides a lot of configuration options for that.
Actual/Planned tasks.
To add baseline bar to your tasks you need just to add baseline_start and baseline_end attributes, indicating the planned start and end time respectively. actual_start and actual_end still show the real progress. Actual progress is shown as the upper bar and planned - as the lower. XML for actual/planned tasks looks as follows:
<tasks>
<task id="1" name="Task 1" actual_start="2008.07.07" actual_end="2008.07.12" baseline_start="2008.07.06" baseline_end="2008.07.10" />
<task id="2" name="Task 2" actual_start="2008.07.09" actual_end="2008.07.13" baseline_start="2008.07.08" baseline_end="2008.07.12" />
<task id="3" name="Task 3" actual_start="2008.07.11" actual_end="2008.07.20" baseline_start="2008.07.09" baseline_end="2008.07.19" />
<task id="4" name="Task 4" actual_start="2008.07.08" actual_end="2008.07.15" baseline_start="2008.07.06" baseline_end="2008.07.12" />
<task id="5" name="Task 5" actual_start="2008.07.07" actual_end="2008.07.16" baseline_start="2008.07.05" baseline_end="2008.07.13" />
<task id="6" name="Task 6" actual_start="2008.07.13" actual_end="2008.07.19" baseline_start="2008.07.11" baseline_end="2008.07.15" />
</tasks>
</project_chart>
And the typical chart looks as follows:
![]() |
Configuring Actual/Planned Bars
To configure how actual or baseline bar looks like you need to tune task style for the given task or for all tasks on the plot, to learn how to do that please refer to:
Splitted Tasks
Sometimes either actual task and baseline plan are not continuous and there can be a need to show this on the chart. AnyGantt has such feature - it is described in Splitted Tasks Tutorial