I have 2 charts, showing data in minutes and in hours.
When I convert to hours, the x Axis, changes, so the lowest number is on top.
I simply can’t find out how to change this, and it not due to lack of searching/trying
Any good ideas ?
Thanks.
#Show total deployments in minutes
st.subheader('Time saved in minutes')
total_deployments = df.set_index('datetime')
total_deployments = total_deployments.drop(columns=['revenue_impact', 'hostname', 'requester', 'type'])
st.line_chart(total_deployments)
#Show total deployments in hours
st.subheader('Time saved in Hours')
total_deployments = df.set_index('datetime')
total_deployments = total_deployments.drop(columns=['revenue_impact', 'hostname', 'requester', 'type'])
total_deployments = pd.to_datetime(total_deployments.totaltimesaved, unit='m').dt.strftime('%H:%M')
st.line_chart(total_deployments)