innerdoc / streamlit-timeline Goto Github PK
View Code? Open in Web Editor NEWA simple Streamlit Component to display a Timeline in Streamlit apps. It integrates Knightlab's TimelineJS.
Home Page: https://www.innerdoc.com
License: MIT License
A simple Streamlit Component to display a Timeline in Streamlit apps. It integrates Knightlab's TimelineJS.
Home Page: https://www.innerdoc.com
License: MIT License
Thanks a lot for the component, it helps me a lot to show my work, but I still have a need. For some reasons, I can only display some images locally, and I want to load them in the timeline.
However, limited by technology, according to the example.json file you provided, I have seen the method of importing images by url, but I have not seen the strategy of localization import. Please guide me.
"title": {
"media": {
"url": "",
"caption": " <a target=\"_blank\" href=''>credits</a>",
"credit": ""
},
"text": {
"headline": "Welcome to<br>TastePeptides-Meta",
"text": "<p>A Timeline showcasing the development process of TastePeptides-Meta</p>"
}
},
Hi!
I'm facing an issue when trying to run your example code. I'm kinda new with coding, so apologies in advance if this is basic info.
When I run the example.py with streamlit i get this error message:
Trying encoding='utf8', i get this error message:
I'm using PyCharm and Anaconda to run my scripts with streamlit. Python version is 3.9.7 and streamlit version is 1.2.0
as title, thank you.
Hi there,
Is it possible to add a feature to focus on the latest event at the opening?
There is currently no way to pass arguments to the python timeline function such that they are put into the optionalArguments
. See: streamlit_timeline/__init__.py#L46
It would be nice to adjust the options listed here (e.g. to set the starting slide or zoom levels)
would expect to be able to do something like this:
timeline(data, options={"scale_factor": 1, "start_at_slide": 5})
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.