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

[Timeline] [dev branch] Major axis labels displaying wrong value #2538

@lewisjb

Description

@lewisjb

This is on the dev branch so I don't have a JSBin, but I do have screenshots.

The below screenshots are for http://visjs.org/examples/timeline/groups/groups.html

This is what it looks like on the website:
screenshot_2017-01-04_11-55-35

And this is what it looks like locally from dev:
screenshot_2017-01-04_11-52-41

Note the major axis (the bottom-left text "January 2017" and "00:00:00")

I did some digging and found that the issue stems from this commit: 9f0376e
Reverting the second change (the one for _repaintMajorText), makes the major axis act the same as it used to.

@yotamberk, since this is your commit, would you know a nice fix for this?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions