Hey, I have two charts: Line chart and bar chart with datetimes as y axis. The line chart shows up fine but the bar chart doesn’t show the datetimes correctly:
Compare to the same data with line chart:
Is this a known bug?
Hey, I have two charts: Line chart and bar chart with datetimes as y axis. The line chart shows up fine but the bar chart doesn’t show the datetimes correctly:
Compare to the same data with line chart:
Is this a known bug?
Can you share a reproducible example?
@etienne hi, here you go (it should viewable if you click on “Edit on CodePen”):
Hmm. thanks for the codepen!
I think something is off with our autorange logic for dates on y-axes. I’ll need to take a closer look at it.
In the meantime, you can set yaxis.range
to get the desired result: https://codepen.io/etpinard/pen/PJjjRz?editors=0011
Awesome, thanks a lot!
After some investigating, looks like we have a bug with our autorange routine.
You can subscribe to https://github.com/plotly/plotly.js/issues/2049 for the latest development info.
Thanks very much for writing in!
Thank you