Skip to content
This repository was archived by the owner on Jul 29, 2019. It is now read-only.

Timeline axis labels disappearing #2251

Closed
aytech opened this issue Nov 1, 2016 · 8 comments
Closed

Timeline axis labels disappearing #2251

aytech opened this issue Nov 1, 2016 · 8 comments

Comments

@aytech
Copy link

aytech commented Nov 1, 2016

Hi,
This might be a duplicate of #1393, but I can still reproduce the issue (v. 4.16.1). I've created a bin here.

You have to do a bit of fiddling to reproduce the issue:

  1. Resize the width of the output window to make it as wide as possible.
  2. Click on "Run with JS"
  3. Grab the far left of the timeline axis and drag it to the right.
    At some point all the minor labels disappear.

This is also reproducible in the current examples page, e.g. on http://visjs.org/examples/timeline/other/localization.html. If you grab the far left of the axis and drag to the right as far as it will go, at some point the minor labels will disappear

Couple of screenshots:
Initial state:
image

Same screen, no minor labels:
image

Update: I was not able to reproduce the issue in my fork, but after fetching from upstream the issue has appeared. So, probably a regression

@Tooa
Copy link
Member

Tooa commented Nov 1, 2016

Can you test whether the issue also occurs in the 'develop' branch?

@aytech
Copy link
Author

aytech commented Nov 2, 2016

Yes, sorry I didn't mention, I was testing in develop branch. Now tested in master, the same result, the bug is there

@aytech
Copy link
Author

aytech commented Nov 2, 2016

Ok, I think I found the commit that introduced this: a9ca766 (Fixed #24: Implemented support for time zones (see examples/timeline/other/timezone.html)).
This was in v. 4.5.1, 4.6.0 was released with this bug already
I will try to debug, just don't know when yet, a bit tight on schedule, will have to downgrade for now.

@aytech
Copy link
Author

aytech commented Nov 2, 2016

Just a small note: console shows no errors/warnings when labels disappear

@mojoaxel
Copy link
Member

mojoaxel commented Nov 2, 2016

@aytech Thanks for reporting this. In which browser does the problem occur?

@aytech
Copy link
Author

aytech commented Nov 2, 2016

@mojoaxel Hi Alex, so far tested on Chrome 54.0.2840.87 / Firefox 45.3.0 / IE 11 (11.06.36) / MS Edge

@mojoaxel
Copy link
Member

mojoaxel commented Nov 2, 2016

OK, I can confirm this major bug.
vis_issue2251

@itfourp
Copy link

itfourp commented Nov 7, 2016

Not sure this helps since it was mentioned in #1393, but this problem is related to the daylight saving time, when there should be more or less than 24 hours.
Maybe the timeline cannot handle the jump from 2am to 3am and the other way round from 3am to 2am?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants