Bar Chart X Axis labels - text won't wrap

Joined
Mar 23, 2004
Messages
241
Hi all.

Is there any way to make the text on a the X-axis labels wrap? The category names are very long, they won't wrap and I can't make the chart itself any bigger, which is a pain because now the X-axis labels take up half the page and limit the size of the chart.

I'm using Excel 2007, and the 'wrap text' button is greyed out in the ribbon, and putting alt-enter breaks in the cells hasn't worked either.

Any help gratefully appreciated.

Thanks,
Al.
 

Excel Facts

What is the last column in Excel?
Excel columns run from A to Z, AA to AZ, AAA to XFD. The last column is XFD.
Hi CCBBB,

We've been fighting the same battle and so far haven't found a way to accomplish this. I think the problem lies in the xml code behind the chart, in which the option to wrap text isn't incorporated.

Solutions so far have been to either display the labels vertically, shrink the font size or font spacing or choose f.i. arial narrow. If you are short of not too much space, you could consider displaying the legend below the x-axis too.

The last option would be to replace the x-axis labels by text boxes (vba perhaps?) which will allow you to wrap text.

I too am very curious for any other solutions!

Grtz. BrtH
 
Upvote 0

Forum statistics

Threads
1,214,971
Messages
6,122,525
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top