Streamlit and Plotly express

How can we move the category label of a horizontal bar chart to the right side just after the bar (as show in the picture) ? Also, how can we automatically wrap the text into two lines if it is too long?
image

Could you show your example code?

Also please refer to the β€œhow to post a question” guide so we can help you and help us quickly understand the issue.

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