Quantcast
Channel: 🎛️ Dash - Plotly Community Forum
Viewing all articles
Browse latest Browse all 6271

How to replace text on xaxis ticks

$
0
0

Hi,
I saw some code , somewhere, a while ago that allowed for replacing text values on the x-axis with other text values??

I have a bar chart and the categories have long text … and I want to shorten the text by replacing it with something simpler…

Ie: change “I do not have access to the information” to be “No Access”

I thought the code I saw was like

labels: {"I do not have access to the information":"No Access"}

So was I dreaming?

Thanks

1 post - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 6271

Trending Articles