Skip to content
This repository has been archived by the owner on Nov 19, 2019. It is now read-only.

Background color is slightly offset for some reason #65

Open
sandebert opened this issue Oct 15, 2018 · 0 comments
Open

Background color is slightly offset for some reason #65

sandebert opened this issue Oct 15, 2018 · 0 comments
Labels
bug Something isn't working

Comments

@sandebert
Copy link

(I tried producing this image using the examples of this project but failed to reach them because of #64. So I used the example from vis.js instead, I hope that's ok.)

It seems like the background color is slightly offset for some reason. This is taken from the Background areas example

My first thought was that the areas were defined using a time that wasn't midnight, but looking at the code that doesn't seem to be correct. My best guess is that my timezone is playing a role here. I'm at UTC+2, which seems to sort of match the visual offset.

image

@yotamberk yotamberk added the bug Something isn't working label Nov 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants