-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Bug] Automatic bar width with single X value too thin for range. #1308
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
Comments
Thanks for the headsup. What is the desired behavior in your mind? In the meantime, note that in |
@etpinard As I haven't looked at how it currently chooses the width, I wouldn't be able to give a desired behaviour that fits properly. I'm aware it's vague because it is an odd issue to fix, but thought I would put it here in-case somebody had a genius solution. I did try manually setting the width, but ran into a different issue with it (which you can see in the issue referenced above) |
merged into #1346 |
The width of a bar when there is only 1 X value is too thin in some cases because it doesn't take the xaxis range into account.
Example: http://codepen.io/anon/pen/rjWoyY
As you can see, the only difference between the two plots is one has a second trace, but the thickness of the bars on them is drastically different.
The text was updated successfully, but these errors were encountered: