2 Hour interval display


#1

Hi!

Is it possible to display the timeline in the gantt chart in a 2 hour interval

e.x
0,1,2,3 …
will be
2,4,6,8…

Thank you


#2

Hi @tommyBoy!

Yes. You can do this by setting gantt.config.step property.

Here is a related article:
https://docs.dhtmlx.com/gantt/desktop__configuring_time_scale.html#timestep

Here is a related snippet:
http://snippet.dhtmlx.com/2087090d7

Does it help you in any way, or do you need something different?


#3

Hi @guldmi

Thank you so much for the answers. I really appreciate it.