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

dot chart doesnt work fine with big labels #165

Open
brodock opened this issue Aug 22, 2012 · 3 comments
Open

dot chart doesnt work fine with big labels #165

brodock opened this issue Aug 22, 2012 · 3 comments

Comments

@brodock
Copy link

brodock commented Aug 22, 2012

If I create a dotchart with a big label, it shrinks the whole graph, not only the corresponding dimension.
For example, if I use a big label on Y axis, it should only shrink the width, but maintain the height untouched.

I had been able to track what I think is the root cause of the problem, and may be related to the gutter recalculation after axis labels generation.

We should store gutter as a two dimension data, and use the correct dimension to calculate circles position.

@jeffchuber
Copy link

I'm also curious what happens when the x axis labels get too long. It appears that it actually just destroys the next label preventing it from being written at all if the spacing is too smal to accomodate it. I would rather the x axis labels be able to be rotated 45 degrees so that it could support much longer strings. I haven't found the root of the error - still experimenting. any thoughts @brodock ?

@brodock
Copy link
Author

brodock commented Aug 31, 2012

Yes, we are playing with the code and figuring out the best solution for it. We will share it as soon as we get an acceptable one.

@jeffchuber
Copy link

Thanks!

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