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

Have to check for undefined because "if (0.0)" would equal false. #1814

Merged
merged 1 commit into from
Dec 21, 2015

Conversation

hallatore
Copy link
Contributor

Setting ticks.suggestedMin value to 0 has no effect because 0 is the same as false in javascript without proper checks.

@hallatore hallatore changed the title Have to check for undefined because "if (0.0)" would equal false. #1813 Have to check for undefined because "if (0.0)" would equal false. Dec 21, 2015
@etimberg
Copy link
Member

Thanks @hallatore

etimberg added a commit that referenced this pull request Dec 21, 2015
Have to check for undefined because "if (0.0)" would equal false.
@etimberg etimberg merged commit fc3a3ae into chartjs:v2.0-dev Dec 21, 2015
@etimberg etimberg added the v2.x label Dec 23, 2015
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

Successfully merging this pull request may close these issues.

None yet

2 participants