NUKnightLab / TimelineJS3

TimelineJS v3: A Storytelling Timeline built in JavaScript. http://timeline.knightlab.com
Mozilla Public License 2.0
2.99k stars 621 forks source link

Cosmological Date problem on axis #224

Open JoeGermuska opened 9 years ago

JoeGermuska commented 9 years ago

A Zendesk user reported a problem with this timeline. The first couple of events are hundreds of millions of years ago. Then, there is one which is 20,000 years ago.

One problem is that there is a tick labeled 1000.0 KYA when the neighboring ticks are in MYA -- shouldn't this one be 1 MYA?

The other problem is that as one zooms in on the timeline, we never get new ticks at a more appropriate resolution.

JoeGermuska commented 9 years ago

So part of the problem was not having enough scales for Cosmological. We can support more, which I did in e191b00. Now, however, when zooming in, we still run into issues with the scale.

I think part of the problem is the fibonacci sequence which is the default zoom_sequence for a human scale Timeline isn't appropriate for cosmological -- we probably need a steeper curve so that at advanced zoom levels one can get closer to centuries or decades at least.

Also, our method for labelling isn't really scaling, as this demonstrates: image

i guess we need a way to add decimal places to the labels at certain zoom levels?