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

Y axis label still sometimes overlaps ticks #838

Open
openjck opened this issue Mar 15, 2018 · 5 comments
Open

Y axis label still sometimes overlaps ticks #838

openjck opened this issue Mar 15, 2018 · 5 comments

Comments

@openjck
Copy link
Contributor

openjck commented Mar 15, 2018

Steps to reproduce

Load this JSFiddle

Actual result

@cnwangjie
Copy link
Contributor

May solve this problem by setting left argument a more large number manually.

@cnwangjie
Copy link
Contributor

Following is the effect of setting left: 80 in your example

2018-03-29-211958_1920x1080_scrot

@openjck
Copy link
Contributor Author

openjck commented Mar 29, 2018

Good catch, @cnwangjie. I think it would be great if MG could automatically detect when this sort of thing is necessary and do it automatically.

@hamilton
Copy link
Collaborator

hamilton commented Apr 5, 2018

Yes. The tension we found was, many users expect the left to not automatically scale, especially if they're dealing with tons of graphs on a dashboard and are trying to get the design right. There doesn't really seem to be a paradigm that works 100% for everyone without some design tweaking or margin-nudging. I'd be open to changing this priority, but this was one thing we found when we were first making MG.

@hamilton
Copy link
Collaborator

hamilton commented Apr 5, 2018

The solution would probably be to do it automatically unless left is set. Usually if you're obsessively tweaking an MG graph (like I am) you're setting left anyway.

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