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

Adding top padding causes x axis gridlines to be too short #368

Closed
tandreas opened this issue Jun 17, 2014 · 2 comments
Closed

Adding top padding causes x axis gridlines to be too short #368

tandreas opened this issue Jun 17, 2014 · 2 comments
Labels
C-bug Category: This is a bug resolved maybe

Comments

@tandreas
Copy link

Hello,

When adding top padding, it appears the padding applies an extra time for x-axis grid lines, pushing them down in the chart.

See the examples:

No padding applied, looks correct:
http://jsfiddle.net/99XZt/2/

Padding applied, which applies both to the top of the chart, and a second time to the grid lines.
http://jsfiddle.net/99XZt/3/

@lilasquared
Copy link

Definitely seems to be a problem. It is even visible on the padding demo when you hover over the data points.

@masayuki0812
Copy link
Member

Hi, Thank you for reporting. I think this issue has been fixed by the commit above. I'll release this fix in the next version 0.2.5, so please use the latest code on the repository for a while. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-bug Category: This is a bug resolved maybe
Projects
None yet
Development

No branches or pull requests

3 participants