To calculate and update task related values
To calculate duration of Gantt record with auto scheduled start date and auto scheduled end date
Parameter | Type | Description |
---|---|---|
ganttProperties | ITaskData |
Defines the gantt data. |
Returns number
To calculate duration from start date and end date
Parameter | Type | Description |
---|---|---|
ganttData | IGanttData |
Defines the gantt data. |
Returns void
Calculates the left pixel value for a task on the Gantt chart, considering non-working days. This method calculates the horizontal position or “left value” for a task based on its start date, current date, and the position of non-working days. This is useful for determining the visual placement of tasks in the Gantt chart.
Parameter | Type | Description |
---|---|---|
timelineStartDate | Date |
The start date of the timeline from which to calculate the left position. |
currentDate | Date |
The current date for which the left value is being calculated. |
Returns number
Method to update duration with work value.
Parameter | Type | Description |
---|---|---|
ganttData | IGanttData |
. |
Returns void
Update all gantt data collection width, progress width and left value
Parameter | Type | Description |
---|---|---|
data | IGanttData |
. |
parentRecords | Map |
. |
Returns void
Update units of resources with respect to duration and work of a task.
Parameter | Type | Description |
---|---|---|
ganttData | IGanttData |
. |
Returns void
Method to calculate work based on resource unit and duration.
Parameter | Type | Description |
---|---|---|
ganttData | IGanttData |
. |
Returns void