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

Long Y-axis label is cut-off #3412

Closed
seven-plus opened this issue Oct 4, 2016 · 3 comments
Closed

Long Y-axis label is cut-off #3412

seven-plus opened this issue Oct 4, 2016 · 3 comments

Comments

@seven-plus
Copy link

Hello,

Thanks for the great charting library.

I am experiencing an issue whereby when one of the Y-axis labels is much longer than the others then it is being cut-off when setting MaintainAspectRatio to false:

image

You can see it in action here: https://jsfiddle.net/mvj1h74f/1/

Any ideas of how to fix this please?

Many thanks

@etimberg
Copy link
Member

etimberg commented Oct 4, 2016

The only thing I can think is that something is happening when measuring the text. The axes don't use the maintainAspecRatio setting themselves

@seven-plus
Copy link
Author

Thank you for the response @etimberg.

Any ideas of how to fix it please?

@etimberg etimberg added this to the Version 2.5 milestone Nov 1, 2016
@etimberg
Copy link
Member

etimberg commented Nov 5, 2016

Started debugging this. Work-around is to set min, max, and stepSize.
https://jsfiddle.net/eoycwr6r/1/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants