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

offsetGridLines not working for bar chart #3550

Closed
ellenchristine opened this issue Nov 4, 2016 · 5 comments
Closed

offsetGridLines not working for bar chart #3550

ellenchristine opened this issue Nov 4, 2016 · 5 comments

Comments

@ellenchristine
Copy link

Please refer to the following Plunker:

https://plnkr.co/edit/63wku4?p=preview

The offsetGridLines property doesn't seem to be applying correctly. Any ideas?

@etimberg
Copy link
Member

etimberg commented Nov 4, 2016

@ellenchristine the offsetGridLines property currently does not apply to the time axis. Tagging as an enhancement so this can go along with other bar related issues

@ellenchristine
Copy link
Author

ellenchristine commented Nov 4, 2016

Thanks for the quick response! Has anyone come up with a workaround for this at the moment?

I think the issue with the offset is the reason why the last datapoint on the right hand is cutting get off.

@cuu508
Copy link

cuu508 commented Mar 17, 2017

One obviously non-ideal workaround is to use category axis, and format the axis labels yourself.

@benmccann
Copy link
Contributor

Fix here: #4545

@nagix
Copy link
Contributor

nagix commented Jun 28, 2018

#4545 fixed this issue. Use offset: true and time.round: 'month'.
screen shot 2018-06-28 at 12 41 32 pm

@nagix nagix closed this as completed Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants