-
Notifications
You must be signed in to change notification settings - Fork 11.9k
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
Time scale - points and bars not lining up with gridlines #5918
Comments
Have you tried |
Yes I have, but |
@jasperdunn the "quick reference" doesn't help, can you share a jsfiddle that reproduces your issue? |
https://jsfiddle.net/wo8310qj/2/ |
Seems an issue with the timezone, because if you remove the trailing 'z' (UTC), points are aligned on grid. |
weird, so it's plotting the points by local time but displaying the UTC "original" labels and gridlines? |
I think so, timezone support tracked in #5186 |
The displayed labels were fixed by #6576 (in master): https://jsfiddle.net/u4qsn20p/ |
Closing as resolved |
version 2.7.3
For quick reference
https://www.chartjs.org/samples/latest/scales/time/line.html
I have tried
offset: true
andoffsetGridLines: true
neither help get the bars or points to line up when using time scale.
The text was updated successfully, but these errors were encountered: