Hey Community,
I am using a bar chart in my app.
Is it possible to change the order of the segments per bar, so that the dark blue elements are below and the bright blue elements are on top.
Thats the code:
data_peryear = {
âZusĂ€tzlicher Bruttoertragâ: [bestand_equity_delta_y1, bestand_equity_delta_y2, bestand_equity_delta_y3, bestand_equity_delta_y4, bestand_equity_delta_y5, bestand_equity_delta_y6, bestand_equity_delta_y7, bestand_equity_delta_y8, bestand_equity_delta_y9, bestand_equity_delta_y10],
âBruttoertrag V&S - Abwanderungâ: [bestand_equity_churn_y1, bestand_equity_churn_y2, bestand_equity_churn_y3, bestand_equity_churn_y4, bestand_equity_churn_y5, bestand_equity_churn_y6, bestand_equity_churn_y7, bestand_equity_churn_y8, bestand_equity_churn_y9, bestand_equity_churn_y10],
}
st.bar_chart(data=data_peryear, color=[â#002B5Eâ, â#00AAD2â])
Thanx in advance!