DHTMLX/gantt

support more time interval

Opened this issue · 2 comments

hi, need support seconds

...seconds might be a little much, but definitely minutes and hours within each day would be nice so we can use this library for smaller, day to day task tracking as well!

@jackjackphp,
We have the feature request to add support for the second unit. So, this feature will be added in the future, but I cannot give you any ETA.

For now, you need to implement custom solutions for that.

Here are examples of how it might be implemented:
https://snippet.dhtmlx.com/vo2zpi4d
https://snippet.dhtmlx.com/y9x52cki


@windowshopr,
The hour and minute units are already supported:
https://docs.dhtmlx.com/gantt/api__gantt_duration_unit_config.html

You can check how it works in the official samples:
https://docs.dhtmlx.com/gantt/samples/?sample=%2703_scales/07_minutes_scale.html%27&filter=%27%27

https://docs.dhtmlx.com/gantt/samples/?sample=%2703_scales/10_working_hours.html%27&filter=%27%27

https://docs.dhtmlx.com/gantt/samples/?sample=%2703_scales/14_scale_zoom_by_wheelmouse.html%27&filter=%27%27