Make `offsetGridLines` consistent and add new `offset` scale option (#4545)
Add a new `offset` option to scales to add extra space at edges and remove the `includeOffset` argument from `getPixelForValue()` and `getPixelForTick()`. The bar controller now automatically calculates the bar width to avoid overlaps. When `offsetGridLines` is true, grid lines move to the left by one half of the tick interval, and labels don't move.
A
Akihiko Kusanagi committed
7dc71d009ba13617bdde1e5c3e59b9c47dc34fe8
Parent: 7e6b462
Committed by Simon Brunel <simonbrunel@users.noreply.github.com>
on 8/14/2017, 8:09:33 AM