gantt icon indicating copy to clipboard operation
gantt copied to clipboard

support more time interval

Open jackjackphp opened this issue 1 year ago • 2 comments

hi, need support seconds

jackjackphp avatar Jul 25 '24 06:07 jackjackphp

...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!

windowshopr avatar Aug 08 '24 01:08 windowshopr

@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

gearcoded avatar Aug 09 '24 06:08 gearcoded