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

Comments

Projects
None yet
2 participants
@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

This comment has been minimized.

Collaborator

TorsteinHonsi commented Apr 5, 2013

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

@kzoon

This comment has been minimized.

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