I am trying to cluster items within the vis.js timeline streamlit implementation
I am rendering about 20k items and therefore would like to use the "cluster" option described at the documentation of vis.js timeline vis.js timeline docu
I am trying to cluster items with the following code but nothing happens.
`from streamlit_timeline import st_timeline
items = [
{"id": 1, "start": "2023-05-01", "end": "2023-05-09", "group": 3},
{"id": 2, "start": "2023-05-06", "end": "2023-05-12", "group": 3}
]
st_timeline(items=items,
groups=[],
height=200,
options={
"cluster": {"showStipes": True, "maxItems": 5}
}
)`
I tried to play around with the formatting of the option such as put the True into a string ("true") etc. but all tries failed so far.
Does anybody have an idea?
Thanks in advance!