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

Wrong break in bar chart categroy labels when chart marginLeft is set #1580

Closed
kzoon opened this issue Mar 8, 2013 · 2 comments
Closed

Wrong break in bar chart categroy labels when chart marginLeft is set #1580

kzoon opened this issue Mar 8, 2013 · 2 comments

Comments

@kzoon
Copy link

@kzoon kzoon commented Mar 8, 2013

In a bar chart where marginLeft is set, long categroy labels get clipped on the left. It seems the automatic breaks area calculated wrong.

See http://jsfiddle.net/kzoon/Q5vwR/

Compare marginLeft: 130 and marginLeft: null

@TorsteinHonsi
Copy link
Collaborator

@TorsteinHonsi TorsteinHonsi commented Apr 5, 2013

The width style of the label in this case should fit the given marginLeft

@kzoon
Copy link
Author

@kzoon kzoon commented Apr 5, 2013

Setting the width style of the label helps. See http://jsfiddle.net/Q5vwR/3/

Should I interpret this as a workaround?

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

Successfully merging a pull request may close this issue.

None yet
2 participants