-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
Labels
feature:builtin-chartsRelated to built-in chart types, e.g. `st.line_chart`Related to built-in chart types, e.g. `st.line_chart`feature:st.altair_chartRelated to the `st.altair_chart` elementRelated to the `st.altair_chart` elementfeature:st.vega_lite_chartRelated to the `st.vega_lite_chart` elementRelated to the `st.vega_lite_chart` elementpriority:P1High priority - fix within two weeksHigh priority - fix within two weeksstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior
Description
Checklist
- I have searched the existing issues for similar issues.
- I added a very descriptive title to this issue.
- I have provided sufficient information below to help reproduce this issue.
Summary
When you click on the "fullscreen" toolbar icon on a Vega/Altair/built-in chart, the chart stretches to the full screen in height, but the width doesn't.
Reproducible Code Example
import streamlit as st
import pandas as pd
import numpy as np
chart_data = pd.DataFrame(np.random.randn(20, 3), columns=["a", "b", "c"])
st.line_chart(chart_data)Steps To Reproduce
- Hover the chart to see the toolbar.
- Click on "Fullscreen" in the toolbar.
Expected Behavior
Chart should stretch to the entire width of the screen, just like it does for dataframes, Plotly charts, or maps.
Current Behavior
Chart only takes up ~1/3rd of the width of the screen.
Is this a regression?
- Yes, this used to work in a previous version.
Debug info
- Streamlit version: 1.46
- Python version:
- Operating System:
- Browser:
Additional Information
No response
github-actions and itsToggle
Metadata
Metadata
Assignees
Labels
feature:builtin-chartsRelated to built-in chart types, e.g. `st.line_chart`Related to built-in chart types, e.g. `st.line_chart`feature:st.altair_chartRelated to the `st.altair_chart` elementRelated to the `st.altair_chart` elementfeature:st.vega_lite_chartRelated to the `st.vega_lite_chart` elementRelated to the `st.vega_lite_chart` elementpriority:P1High priority - fix within two weeksHigh priority - fix within two weeksstatus:confirmedBug has been confirmed by the Streamlit teamBug has been confirmed by the Streamlit teamtype:bugSomething isn't working as expectedSomething isn't working as expectedtype:regressionThis bug is a regression from previous behaviorThis bug is a regression from previous behavior
