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

[Regression] X-axis doesn't render long strings gracefully #526

Closed
1 of 5 tasks
kalai001 opened this issue Mar 10, 2020 · 6 comments
Closed
1 of 5 tasks

[Regression] X-axis doesn't render long strings gracefully #526

kalai001 opened this issue Mar 10, 2020 · 6 comments

Comments

@kalai001
Copy link

I am submitting a...

  • Feature request
  • Design defect
  • Source code defect
  • Demo/documentation defect
  • Other

charts version:

0.29.8

Issue description

X-axis labels were handled gracefully in earlier versions of Carbon charts. Long string was getting wrapped. Now, the long strings aren't handled at all. It ends up compressing the graph area.

Steps to produce the issue

https://codesandbox.io/s/peaceful-hertz-wwoqn

Current behavior

X-axis label keeps expanding and compresses the graph area

Expected behavior

Label should wrap or truncate with ellipsis. The graph are should remain un-affected

Screenshot or recording

image

@theiliad
Copy link
Member

Duplicate of #347

@theiliad theiliad marked this as a duplicate of #347 Mar 11, 2020
@theiliad
Copy link
Member

Closed by #646

@kalai001
Copy link
Author

@theiliad , What version of chart has this fix? I don't see it working with v0.32.9. Check this sandbox

@theiliad
Copy link
Member

There's been an error with the release after merging that PR. This would be available in 0.32.10. Let me check why it's errored out

@theiliad
Copy link
Member

Fixed, please try 0.32.11

@kalai001
Copy link
Author

Works fine on 0.32.11

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

2 participants