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

Timeline: Issue with axis formatting between dynamic instances #4271

Open
cwewells opened this issue Mar 11, 2019 · 0 comments
Open

Timeline: Issue with axis formatting between dynamic instances #4271

cwewells opened this issue Mar 11, 2019 · 0 comments

Comments

@cwewells
Copy link

I've noticed an issue with multiple instances of the Timeline control. I've created new instances of the control in ES6 classes, with one changing the axis format. After destroying the instance, and creating a new vis.timeline in another class, the axis formatting function still fires from the old instance (even with supplying a new Options object).

I have been able to work around this by explicitly creating a formatter for both instances, even though one does not change the default formatting.

Would be nice if the axis formatting can revert to the default when destroying an instance, so that custom formatting is explicitly set and does not "travel" across instances.

Ciao

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

1 participant