Our state of the art Gantt chart


Post by Qwerty »

Hi there,

We’ve been looking into the way milestones are defined in Bryntum recently and have come across an inconsistency with this when compared to other Gantt tools, like Microsoft Project and Monday.com.

Microsoft Project for example, treats 0-day tasks as milestones as does Bryntum, but has a distinction between those and 1-day tasks. 1-day tasks start and end on the same day but are not milestones. Following on from that, a 2-day task in Project starts on one day and finishes the day after, and so on.

In Bryntum Gantt, there’s no “1-day” option; tasks are either 0-days (milestones) or 1-day, where the end date is the next day.

Project
0 Day  = 2020-01-01 to 2020-01-01
1 Day  = 2020-01-01 to 2020-01-01
 
Bryntum
0 Day  = 2020-01-01 to 2020-01-01
1 Day  = 2020-01-01 to 2020-01-02

As mentioned on viewtopic.php?f=52&t=14810, we have received feedback upstream from users that are well-versed in scheduling who have requested that 1-day tasks should start and end on the same day, thereby opening up the distinction between milestones and 1-day tasks.

Is there a way to achieve parity with Microsoft Project and other tools in this regard?

Thanks again.


Post by arcady »

And what are the time parts of the provided dates? I see only year, month & date but no hours, minutes etc.

If you enable a format showing time in MS Project ("File/Options" then "General" tab, "Date format" field) you'll see that dates are equal but time parts are different (to check how MS Project defines what 1 day is check "File/Options" then "Schedule" tab, "Hours per day" field).

After that you can enable a similar time including format for the Gantt. For example here is how it can be done for start date column:

const gantt = new Gantt({
    ...
    columns                 : [
        ...
        { type : 'startdate', format : 'YYYY-MM-DD HH:mm:ss' },

I think it should make things cleaner and close a lot of questions.
But if you'll still have questions after doing above steps please feel free to post them here.


Post Reply