Spaces:
Sleeping
Sleeping
fschwartzer
commited on
Commit
•
fbac8c4
1
Parent(s):
eeaecf1
Update app.py
Browse files
app.py
CHANGED
@@ -209,7 +209,9 @@ with tab2:
|
|
209 |
chart_data = chart_data.sort_values(by='Period')
|
210 |
|
211 |
# Display line chart with "period" on X-axis and "Monetary Value" on Y-axis
|
212 |
-
col2.line_chart(chart_data.set_index('Period'))
|
|
|
|
|
213 |
|
214 |
else:
|
215 |
col2.warning('No data available for the selected filters.')
|
|
|
209 |
chart_data = chart_data.sort_values(by='Period')
|
210 |
|
211 |
# Display line chart with "period" on X-axis and "Monetary Value" on Y-axis
|
212 |
+
#col2.line_chart(chart_data.set_index('Period'))
|
213 |
+
fig = px.line(chart_data, x="period", y="Monetary Value")
|
214 |
+
st.plotly_chart(fig, theme=None, use_container_width=True)
|
215 |
|
216 |
else:
|
217 |
col2.warning('No data available for the selected filters.')
|