palantir / plottable

:bar_chart: A library of modular chart components built on D3
http://plottablejs.org/
MIT License
2.97k stars 224 forks source link

Gridlines don't line up when using useUTC flag #3462

Open leemi opened 6 years ago

leemi commented 6 years ago

Bug report

Was trying to take advantage of #3432, but came across this bug:

Live example URL: http://jsfiddle.net/uwmf79s2/1/

Steps to repro:

  1. Set Axis to UTC
  2. Add Gridlines

Expected behavior

Gridlines should line up with the Axis markings

Actual behavior

Gridlines aren't adjusted for UTC time

Possible Solution

Update Scales.Time's tick generator to handle UTC time

Context

Environment