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

xaxis.min / xaxis.max breaks the graph when passed a raw date object #302

Open
danieljpetersen opened this issue Apr 9, 2015 · 0 comments

Comments

@danieljpetersen
Copy link

It appears that the options xaxis.min and xaxis.max do not work when given a date object.

I've made a fiddle of the problem -- https://jsfiddle.net/jgz0fb28/1/

I eventually figured out that you need to give it date.getTime() for it to work as expected, but this was really non-obvious to me. I feel like it should explicitly handle this case, or at least document it somewhere (did I just miss it?).

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

No branches or pull requests

1 participant