effort
Description
Configures effort-driven task calculations
effort: EffortConfig
Details
Set the configuration before initializing the chart.
| Property | Default | Meaning |
|---|---|---|
enabled: boolean | false | Enable effort calculations. |
mode: "fixed_duration" | "fixed_units" | "fixed_work" | "fixed_duration" | Default scheduling mode for tasks that do not specify one. |
effort_driven: boolean | false | Default effort-driven flag for tasks that do not specify one. It affects how the task responds to adding or removing assignments. |
work_unit: "minute" | "hour" | "day" | "week" | "month" | "year" | "hour" | Unit for task work. |
hours_per_day: number | 8 | Assignment value that represents a full working-day allocation. Set it consistently with the work unit and assignment values. |
Example
gantt.config.effort = {
enabled: true,
mode: "fixed_duration",
effort_driven: false,
work_unit: "hour",
hours_per_day: 8
};
Related API
Related guides
Change log
- Added in v10.1.
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.