Hello Streamlit Community! My app containsloads of plotly charts. I have deployed this app and the plotly charts render perfectly when accessed via a desktop. When accessed via a mobile phone browser such as Safari or Chrome, the charts get squeezed when viewed in portrait mode. Although they seem to render better in landscape mode, they are still not as good as they render on desktops.
Hi @Akbar_Lutfullah, could you check to see if this solution helps make your graphs look better on mobile? Unfortunately, Streamlit is not fully optimized to be mobile-native currently.
Exact same issue here.
Actually only when I am using page config st.set_page_config(, layout=βwideβ) which make charts use all width on desktop.
When removing this page setup, the mobile charts are better but then I am losing full width on desktop.
So still looking for a solution.
Hi @bardamug, could you please share how you resolved this? Do all your charts now render perfectly if accessed via your mobile phone browser? I usually have to tilt my phone horizontally for the charts to render in landscape mode but I would like for them to render/readjust to the screen in potrait mode too.