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

[Heatmap] Improve tick cadence with time scale #1606

Open
Tracked by #2320
markov00 opened this issue Feb 23, 2022 · 0 comments
Open
Tracked by #2320

[Heatmap] Improve tick cadence with time scale #1606

markov00 opened this issue Feb 23, 2022 · 0 comments
Labels
:axis Axis related issue enhancement New feature or request :heatmap Heatmap/Swimlane chart related issue

Comments

@markov00
Copy link
Member

Is your feature request related to a problem? Please describe.
The current logic used to rarify the labels to avoid overlaps #1514 can be improved to support, whenever is possible, a nicer cadence with human recognizable time multiples, as using in the multi-layer time axis.

image
For example this can be converted to a 2 days intervals instead of 36 hours.

Describe the solution you'd like
When using a time scale with calendar intervals we should try to find a nice multiple of the specified unit.
for example with 1 day interval the allowed multiples are:
1 day, 2 days, calendar week, calendar month, 2 calendar months, 6 calendar months, calendar year, decade

with months and year, the tick cadence is not uniform but it will not probably be noticed much.

@markov00 markov00 added enhancement New feature or request :axis Axis related issue :heatmap Heatmap/Swimlane chart related issue labels Feb 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:axis Axis related issue enhancement New feature or request :heatmap Heatmap/Swimlane chart related issue
Projects
None yet
Development

No branches or pull requests

1 participant