seanlowe / obsidian-timelines

Create a timeline view of all notes with the specified combination of tags
https://seanlowe.github.io/obsidian-timelines/
MIT License
39 stars 2 forks source link

Maximum Amount of Years Caps at just 275 000 #25

Closed wanwindwalker closed 2 months ago

wanwindwalker commented 3 months ago

I'm trying to create a historical timeline on the span of 3 million years, would it be possible to change the maximum cap?

seanlowe commented 3 months ago

Yeah, looks like this is possible, would just have to hook it up.

option name type default description
max Date or Number or String or Moment none Set a maximum Date for the visible range. It will not be possible to move beyond this maximum.
min Date or Number or String or Moment none Set a minimum Date for the visible range. It will not be possible to move beyond this minimum.
seanlowe commented 2 months ago

Did some more looking into this. I am already using the min/max options when creating the horizontal timeline. Unfortunately, while the docs don't say there is a limit, you are right in that it caps at 275,000. This is a problem with the vis-timeline, unfortunately.