Each task has a duration. The duration specifies how long the task will take to complete. C1GanttView uses the DurationUnits property to specify the units for the task duration. The default duration unit is days. The units can be specified in Minutes, Hours, Days, Weeks, or Months. The Duration property is used to specify the whole integer value for the units, such as 2 for 2 weeks.
You can add an active task by setting the task duration in Task Information. From Bar Styles, you can select the bar type as Duration Only that displays only the task name and duration for which the task is active. The bar text corresponding to different task elements is also visible around the task bar.
The following image shows a Duration Only bar style:
If you Inactivate the Task, The Duration Only bar type gets changed into Inactive Duration Only which displays only the task name and duration for which the task is inactive. The bar style gets changed and the bar text also disappears.
The following image shows an Inactive Duration Only bar style: