Skip to content

invisible date bar #3632

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
tjinaton opened this issue Mar 13, 2019 · 1 comment
Closed

invisible date bar #3632

tjinaton opened this issue Mar 13, 2019 · 1 comment

Comments

@tjinaton
Copy link

When i have bar-graph with date-axis and custom range specified the bar becomes invisible when there is only 1 bar.

invisible bar:
https://codepen.io/rtjin/pen/bZYJOp
2-bars:
https://codepen.io/rtjin/pen/oVoOJJ

Turns out the bar is very small. Which can be seen when the range becomes small.
Workaround: Set width on bar: 1 unit seems to be 1ms.

It would be nice if the bar gets a better width.

@alexcjohnson
Copy link
Collaborator

duplicate of #1346, feel free to weigh in over there. I doubt we'll change this behavior though - we could pick some other value but it would usually be wrong. I'd recommend setting width explicitly (yes, in milliseconds) https://codepen.io/alexcjohnson/pen/YgYqMW

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

2 participants