Reputation: 31
I am completely new to data visualisation with Plotly. I've created a stacked bar chart with text labels, but the single-digit value have rotated automatically. How can I make all texts shown without being rotated?
fig = px.bar(
data_stack,
y = "newform",
x = "percentage",
color = "Qcat",
barmode = "stack",
text = "size",
orientation = "h")
Here's a screenshot for reference:
Upvotes: 3
Views: 3665