Streamlit line chart - how can I limit zoom out / zoom in?

I am using streamlit newest version, python 3.11; Is there a way to make streamlit line chart not zoom in / zoom out? I am displaying some simple charts with stock prices and it feels โ€œgoofyโ€ that the user may zoom in/ out.

I have checked, and instead of st.line_chart I should use st.altair_chart which is more customizable.

in the future it would be lovely if we could have some more options on st.line_chart :slight_smile:

st.altair_chart - Streamlit Docs

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.