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 misplaced when graph is inverted #28

Open
jubianchi opened this issue Aug 6, 2012 · 2 comments
Open

Y Axis misplaced when graph is inverted #28

jubianchi opened this issue Aug 6, 2012 · 2 comments
Labels

Comments

@jubianchi
Copy link
Contributor

Y Axis misplaced when graph is inverted

Using the invert option, the graph Y axis is misplaced : it's positioned on the left side of the canvas with no margin so the values are very difficult to see.

This bug can be reproduced using the example in the documentation : http://jsfiddle.net/xDZgW/
Here is a screenshot of the bug : http://tinypic.com/view.php?pic=2wnz6v6&s=6

When the graph is not inverted, everything works fine :)

tested on latest stable Chrome and Firefox.

@jubianchi
Copy link
Contributor Author

A workaround is to use the data-graph-margin-left attribute on the target table but the labels are still a bit misplaced (they cross the axis)

@maxailloud
Copy link
Contributor

As X axis and Y axis are inverted you can use the data-graph-xaxis-align="right|center|left" to make fix it.

@agallou agallou added the bug label Nov 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants