🏥 🏭 Working on the COVID-19 response in Canada? Plotly & the Canadian government can help you and your organization. Learn more and get in touch.

The x-axis title is overlapping the the tick labels

how to fix the following issue

the xaxis label is overlapping the ticks label also if the label is too long it will be trimmed.

Hmm. Our auto-positioning algorithm should take care of this issue as in http://codepen.io/etpinard/pen/PNgWRZ

Can you share a reproducible example?

just set the tickangle: 90 it will cause the x axis to overlap

Hi, i am also experiencing the same issue. My graph is created using ggplot and displayed using R shiny.
I’ve tried fixing the issue in the ggplot code and it still doesn’t work.

We are also facing the same issue… Any solution?

Use layout.xaxis.automargin: true - this should solve your issue

1 Like