Skip to content

Something is up with bar autorange with y minute-precision data on date axes #2049

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

Closed
etpinard opened this issue Oct 2, 2017 · 2 comments · Fixed by #2050
Closed

Something is up with bar autorange with y minute-precision data on date axes #2049

etpinard opened this issue Oct 2, 2017 · 2 comments · Fixed by #2050
Labels
bug something broken regression this used to work

Comments

@etpinard
Copy link
Contributor

etpinard commented Oct 2, 2017

See https://codepen.io/etpinard/pen/mBMgLR

First reported in https://community.plot.ly/t/bar-chart-axis-not-showing-duration-properly-line-chart-does/5990/

@etpinard etpinard added the bug something broken label Oct 2, 2017
@etpinard
Copy link
Contributor Author

etpinard commented Oct 2, 2017

Back at v1.18.1 we had:

image

https://codepen.io/etpinard/pen/borJjL

@etpinard etpinard added the regression this used to work label Oct 2, 2017
@alexcjohnson
Copy link
Collaborator

Nothing to do with the precision, we're just showing the full bar now (down to the "zero" of dates ie 1970) and we weren't before. Seems like an easy fix to replace the old behavior, leaving aside the fact that this is a strange way to use a bar chart, and has some other odd side-effects - like if you set y before 1970 it'll be an upside-down bar - I guess if we want to support this we should really have the bars extend down to -Infinity?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken regression this used to work
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants