White spaces and link configuration


#1

Hello.

I have two problems regarding the gantt diagram.
I have the Pro version (7.0.9) and when i fill the chart with more than two projects I get some strange
white spaces. See picture below:

Second: How do I prevent one task to go behind the others end. (Green goes before yellow ends). I have them linked together.

Thanks in advance.


#2

Hello Alves,

I have the Pro version (7.0.9) and when i fill the chart with more than two projects I get some strange
white spaces. See picture below:

There are several ways of why it can happen. Most likely, you have non-unique IDs. That bug was fixed in the 7.0.13 version:
https://docs.dhtmlx.com/gantt/whatsnew.html#7013
If that doesn’t help you, please, add your configuration in the following snippet and make sure that the issue is reproduced there:
https://snippet.dhtmlx.com/38ee1b370
Then, click on the Share button and send me the link.
Or send me a ready demo with all the necessary Javascript and CSS files so that I can reproduce the issue locally.


Second: How do I prevent one task to go behind the others end. (Green goes before yellow ends). I have them linked together.

You need to turn on auto-scheduling:
https://docs.dhtmlx.com/gantt/desktop__auto_scheduling.html


#3

Thanks for the reply ramil. I figured it out. When you have a project with two tasks and you change the filter to show the third task that belongs to the same project gantt adds these white spaces.
I changed my my logic to also show the third task which is out of scale.

Ah ok its auto-scheduling. Thank you very much.

Have a nice day.