Skip to content

Commit 348ae98

Browse files
committed
docs(gantt): Add Planned vs Actual functionality article
1 parent 2ec9ca9 commit 348ae98

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: Planned vs Actual
3+
page_title: Planned vs Actual - RadGantt
4+
description: Check our Web Forms article about PDF Export.
5+
slug: gantt/functionality/planned-vs-actual
6+
tags: planned,actual,task,baseline
7+
published: True
8+
position: 9
9+
---
10+
11+
# Planned vs Actual
12+
13+
The `Planned vs Actual` functionality of the Gantt allows you to compare actual `start` and `end` dates to originaly planned dates or in other words, the `Baseline dates`. If the actual completion date of a task matches the planned end time date, the default task appearance is used. In the scenarios listed below, when there is a difference between an actual and a planned(baseline) date, the Gantt visualizes it by changing the appearance of the task:
14+
15+
* The actual `end` date of the task is before the planned `end` date - the task is colored green.
16+
* The actual `end` date of the task is after the planned `end` date - a hatched bar that marks the delay is rendered in the task.
17+
* The actual `start` date of the task is after the planned `end` date - the task is colored red.
18+
19+
For a full example of the Planned vs Actual functionality, refer to the [Planned vs Actual Demo](https://demos.telerik.com/aspnet-ajax/gantt/examples/functionality/planned-vs-actual/defaultcs.aspx).
20+
21+
## Configuration
22+
23+
The example below demonstrates how to configure the Gantt to display planned and actual dates.
24+
25+
The `AllowPlannedTasks` property enables a switch in the toolbar of the Gantt that allows toggling the `Planned vs Actual` functionality.
26+
27+
The `ShowPlannedTasks` property controls whether planned dates will be shown initially.
28+
29+
## Binding
30+
31+
The `PlannedStart` and `PlannedEnd` properties are not required to populate the Gantt tasks and they allow null values. The type of the planned dates properties is a [Nullable](https://docs.microsoft.com/en-us/dotnet/api/system.nullable-1?view=net-5.0) DateTime - `DateTime?`.
32+
33+
## See Also
34+
35+
* [Gantt Data Binding]({%slug gantt/data-binding/database-structure %})
36+
* [Planned vs Actual (Demo)](https://demos.telerik.com/aspnet-ajax/gantt/examples/functionality/planned-vs-actual/defaultcs.aspx)
37+

0 commit comments

Comments
 (0)