Baseline
This class represents a baseline of a Task.
Records based on this model are initially created when tasks are loaded into the TaskStore. If dates (startDate and
endDate) are left out, the task's dates will be used. If dates are null, dates will be empty and the baseline bar
won't be displayed in the UI.
Properties
75
Properties
75Class hierarchy
Scheduling
Baseline duration variance in the task's duration unit.
Baseline end variance in the task's duration unit.
Planned percent done for this baseline.
Baseline start variance in the task's duration unit.
Editing
JSON
Parent & children
Functions
65
Functions
65Other
Converts this baseline to a milestone (start date will match the end date).
Converts a milestone baseline to a regular baseline with a duration of 1 (keeping current durationUnit).
Configuration
Editing
Events
Misc
Parent & children
Scheduling
Typedefs
1
Typedefs
1Fields
7
Fields
7An encapsulation of the CSS classes to be added to the rendered baseline element.
Always returns a DomClassList, but may still be treated as a string. For granular control of adding and removing individual classes, it is recommended to use the DomClassList API.
The numeric part of the baseline effort (the number of units).
The unit part of the baseline effort. Valid values are:
- "millisecond" - Milliseconds
- "second" - Seconds
- "minute" - Minutes
- "hour" - Hours
- "day" - Days
- "week" - Weeks
- "month" - Months
- "quarter" - Quarters
- "year"- Years
End date of the baseline in ISO 8601 format.
Note that the field always returns a Date.
Calculated field which encapsulates the effort's magnitude and unit. This field will not be persisted, setting it will update the effort and effortUnit fields.
Start date of the baseline in ISO 8601 format.
Note that the field always returns a Date.