Task Progress

Overview

If you want to show the status of task progress on a Gantt chart - you can use Progress Bar, that gives a fast way to determine whether a task is almost complete or just started. Progress may be also shown as test in label or in datagrid.

to top

Setting Progress

To add progress data to a task you need to use progress attribute of <task> node - it accepts numercial values from "0" to "100". For example here is an XML for several tasks with different progress:

<anygantt>
  
<project_chart>
    
<tasks>
      
<task id="1" name="Task 1" actual_start="2008.07.01" actual_end="2008.07.12" progress="100" />
      
<task id="2" name="Task 2" actual_start="2008.07.01" actual_end="2008.07.13" progress="75" />
      
<task id="3" name="Task 3" actual_start="2008.07.01" actual_end="2008.07.14" progress="50" />
      
<task id="4" name="Task 4" actual_start="2008.07.01" actual_end="2008.07.15" progress="25" />
      
<task id="5" name="Task 5" actual_start="2008.07.01" actual_end="2008.07.16" progress="0" />
    
</tasks>
  
</project_chart>
</anygantt>

And here is how it looks like by default, progress is also added to datagrid:

Progress bar sample - Click to see Live Chart Preview
Progress bar sample - Click to see Live Chart Preview

to top

Progress Bar Configuration

To configure how task progress bar looks like you need to change Task Style, which can be configured individually for each task or changed for all tasks on the plot. Please refer to these documents to know more:

to top