Why is the actual task duration of baseline1 9 days? And how is the delay start calculated? The baseline1 startDate is January 13, and the task startDate is January 14. It should 1 days in advance. Why is it delayed?
2、
2C47C6EB-D87A-4102-BA6A-56845A950CB2.png (13.64 KiB) Viewed 807 times
275FAA93-0CD0-42cb-8967-B8DD65FC3BF7.png (37.32 KiB) Viewed 807 times
The task duration is 15 days and the baseline duration is 17 days. Why is the overrun 15 days? Isn't it 2 days? Why can't I understand the literal meaning of delay and overrun?
Why is the actual task duration of baseline1 9 days? And how is the delay start calculated? The baseline1 startDate is January 13, and the task startDate is January 14. It should 1 days in advance. Why is it delayed?
Let's open the dataset the demo uses (examples/_datasets/launch-saas.json file):
alternatively you can check the task data in your browser console
// check task start date
gantt.taskStore.getById(1).startDate
// check 1st baseline start date
gantt.taskStore.getById(1).baselines.first.startDate
1) 9 days in that demo is calculated as endDate ("2019-01-22T23:00:00") minus startDate ("2019-01-13T23:00:00") which gives 9 days.
2) delay is calculated as difference between the task startDate and the baseline startDate ..as you already posted actually:
3) it's delayed as you can see in the data the tasks starts 1 hour later that it was planned in the baseline ("2019-01-14" - "2019-01-13T23:00:00" = 1 hour)
The task duration is 15 days and the baseline duration is 17 days. Why is the overrun 15 days? Isn't it 2 days? Why can't I understand the literal meaning of delay and overrun?
It should be 7d since it takes non working time into account ..but it doesn't do that for baselines which is also a bug. I've mentioned that in the ticket I've made.
8DB500FD-DED1-4151-B876-1AD4A5651EAE.png (25.07 KiB) Viewed 794 times
I always thought that task (the line indicated by the arrow in the picture) is the progress of the task plan, while baseline is the progress of the actual situation of the task. According to what you mean, the startDate of a task is greater than the startDate of the baseline, which means delayed start. I think it means early start. Now it seems that I am wrong. Do you take task (the line indicated by the arrow in the picture) as the actual progress?
Yes according to the code I see in the demo a baseline start/end dates is treated as planned ones and corresponding task start/end as actual ones.
But it's just the demo code and you are free to treat baselines the way you want since they don't really take part in the scheduling process. So they are pure visual pieces of data and you can treat them as you want.