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

Labels on x-axes should handle the histogram size and resize #896

Open
MohamedHamouGisaia opened this issue Oct 1, 2024 · 0 comments · May be fixed by gisaia/ARLAS-d3#247
Open

Labels on x-axes should handle the histogram size and resize #896

MohamedHamouGisaia opened this issue Oct 1, 2024 · 0 comments · May be fixed by gisaia/ARLAS-d3#247
Assignees
Labels
type:enhancement Feature that impacts end-user
Milestone

Comments

@MohamedHamouGisaia
Copy link
Member

Description of the current behavior

Currently, the timeline x-axis labels are displayed correctly when the screen width is large enough

image

However, if we open the analytics tab or the resultlist, the labels are overlapped and don't show correctly
image

Description of the desired behavior

Handle the overlap of labels.

  • Adapt format to bucket interval. Sometimes the label show the hours and minutes but the bucket size if way larger to be interested in this granularity.
  • each label container should be aware of it's relative position to the axis and its width.
  • on each resize: detect if labels overlap
  • if so divide by 2 the number of displayed labels
@MohamedHamouGisaia MohamedHamouGisaia added type:enhancement Feature that impacts end-user type:question Further information is requested labels Oct 1, 2024
@MohamedHamouGisaia MohamedHamouGisaia removed the type:question Further information is requested label Oct 1, 2024
@MohamedHamouGisaia MohamedHamouGisaia added this to the 27.0.0 milestone Oct 1, 2024
@MohamedHamouGisaia MohamedHamouGisaia self-assigned this Oct 10, 2024
@MohamedHamouGisaia MohamedHamouGisaia removed their assignment Nov 28, 2024
@MohamedHamouGisaia MohamedHamouGisaia modified the milestones: 27.0.0, 27.1.0 Jan 17, 2025
@MAudelGisaia MAudelGisaia linked a pull request Feb 3, 2025 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:enhancement Feature that impacts end-user
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants