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

Fix tick label overflow between sm panels #1008

Open
Tracked by #2320
nickofthyme opened this issue Feb 2, 2021 · 1 comment
Open
Tracked by #2320

Fix tick label overflow between sm panels #1008

nickofthyme opened this issue Feb 2, 2021 · 1 comment
Labels
:axis Axis related issue bug Something isn't working Impact:Medium :small multiples Small multiples/trellising related issues :xy Bar/Line/Area chart related

Comments

@nickofthyme
Copy link
Collaborator

nickofthyme commented Feb 2, 2021

Describe the bug
When dimensioning small multiple panels, each panel is treated as one small panel instead of Individually. This means that any tick labels that overflow into the nearest panels may not be corrected for and cause labels to overlap.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://elastic.github.io/elastic-charts/?path=/story/small-multiples-alpha--grid-lines
  2. Slowly drag the right-hand panel to make the chart smaller.
  3. Notice the ticks get closer and closer and eventually overlap

Expected behaviour
The tick labels should not overlap between panels

Screenshots
Screen Recording 2021-02-02 at 10 37 AM

Version (please complete the following information):

  • Elastic Charts: latest

Additional context
Related to #891 and #397

I'm not sure if this could be solved when we decide to improve the label logic to be more robust and filter values more intuitively.

Kibana Cross Issues
elastic/kibana#12317 and elastic/kibana#12244

@nickofthyme nickofthyme added bug Something isn't working :axis Axis related issue :xy Bar/Line/Area chart related :small multiples Small multiples/trellising related issues labels Feb 2, 2021
@rshen91 rshen91 assigned rshen91 and unassigned rshen91 Feb 10, 2021
@nickofthyme
Copy link
Collaborator Author

Issue is on both x and y axes labels.

Image 2021-07-26 at 9 11 03 AM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:axis Axis related issue bug Something isn't working Impact:Medium :small multiples Small multiples/trellising related issues :xy Bar/Line/Area chart related
Projects
None yet
Development

No branches or pull requests

3 participants