giswqs / streamlit-timeline

Streamlit component for rendering vis.js timeline
https://timeline.streamlitapp.com
MIT License
93 stars 11 forks source link

Timeline does not load properly once "start" and "end" is configured in the options #7

Open robert-kloepsch opened 1 year ago

robert-kloepsch commented 1 year ago

With "start" and "end" you can configure the start and endpoint of the axis once the timeline is loaded for the first time. When setting these options the timeline does not load at all. The code needs to be rerun to display the timeline.

from streamlit_timeline import st_timeline

st_timeline(items=[], groups=[], options={
    "start": "2014-01-10",
    "end": "2016-01-10",
    }
)