question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Time scale - points and bars not lining up with gridlines

See original GitHub issue

version 2.7.3

For quick reference https://www.chartjs.org/samples/latest/scales/time/line.html

I have tried offset: true and offsetGridLines: true neither help get the bars or points to line up when using time scale.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
simonbrunelcommented, Dec 16, 2018

Seems an issue with the timezone, because if you remove the trailing ‘z’ (UTC), points are aligned on grid.

0reactions
kurklecommented, Jan 2, 2020

Closing as resolved

Read more comments on GitHub >

github_iconTop Results From Across the Web

Column Chart Gridlines Cutting Through Bars - Peltier Tech
The gridlines are not gray lines running across the whole chart, behind the bars. Instead, the bars themselves appear to be cut into ......
Read more >
Chart Vertical Grid Lines and Time Line Study not aligned for ...
On a Volume Bar chart where "Advanced Settings 2 - Vertical Grid Lines" is Enabled at Session Start (eg 09:00:00) and a Time...
Read more >
Align Tick Marks or Grid Lines with Data Points
Right-click on the Row Axis and select Edit Axis. Under the Tick Marks tab, in the Major tick marks section, select Fixed.
Read more >
Grid lines not aligning with tempo map
Grid lines not aligning with tempo map Pro Tools. ... enabling/disabling the "Follow main time scale" option in the Grid menu
Read more >
To Gridline or Not to Gridline - PolicyViz
Personally, I prefer to forgo gridlines in bar charts when I include data labels above the bars. Let me demonstrate.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found