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

Bar not showing in barchart when range is specified #2079

Closed
saimaparveen opened this issue Oct 11, 2017 · 2 comments
Closed

Bar not showing in barchart when range is specified #2079

saimaparveen opened this issue Oct 11, 2017 · 2 comments

Comments

@saimaparveen
Copy link

Hi,

Unable to see bar when there is 1 bar and range specified in barchart.
https://codepen.io/anon/pen/KXeoWZ

if there is more than 1 bar then its visible.
https://codepen.io/anon/pen/yzEKoj

Is there any way I can show bar in the first case

Thanks,
Saima

@etpinard
Copy link
Contributor

etpinard commented Oct 11, 2017

That bar is showing, it is simply very very very tiny. After zooming in a little bit, we get:

image

To be precise, it has a width of 1 millisecond (the default value) - which on your set range get ignored but most browsers.

By setting the width to e.g. 12 hours https://codepen.io/etpinard/pen/oGyqJj?editors=0010 your bar is visible again.


Related #1181

@alexcjohnson
Copy link
Collaborator

duplicate of #1346

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

3 participants