Date in x axis in linechart not shown as normal chart

my code is so so simple
st.line_chart(dx[‘x’])

the following is my dataframe

image

and this is my linechart result


as you can see the x axis labels shows badly
i need something like the following x axis labels

thanks in advance

Hi there,

Thanks for sharing your question with the community! Check out our guidelines on how to post an effective question here – in particular, please share a code snippet. The community won’t be able to make suggestions without seeing any of the code that produced the charts in the screenshots.

st.line_chart(dx[‘x’])

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.