Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support more time interval #118

Open
jackjackphp opened this issue Jul 25, 2024 · 2 comments
Open

support more time interval #118

jackjackphp opened this issue Jul 25, 2024 · 2 comments

Comments

@jackjackphp
Copy link

hi, need support seconds

@jackjackphp jackjackphp changed the title support seconds support more time interval Jul 25, 2024
@windowshopr
Copy link

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

@gearcoded
Copy link

@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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants