PC Review


Reply
Thread Tools Rate Thread

Bar Chart Axis Labels - un Word Wrap

 
 
tbraddy
Guest
Posts: n/a
 
      2nd Feb 2009
I am trying to plot some data with really long axis label names (40+
char). The problem is that I cannot change the "area" that the labels
fit into.

I can change the angle to 45 degrees and everything shows up, but for
a y axis at 0 degrees it auto word wraps to fit inside the "area". Is
there a way to modify the area so that I can get my long names on
there?

I've tried modifying the source cells with Alt+ Enter to see if it
would break it up onto multiple lines, but it doesn't.

Todd
 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      2nd Feb 2009
Excel doesn't give you a lot of control over the way you can lay out labels.
I assume your chart is a horizontal bar chart. To allow more room for
labels, you can make the entire chart wider, or play with font size. But
sometimes there's nothing much you can do.

I've had cases in which I had to remove the built-in axis labels, replace
them with textboxes, populate the textboxes and position them, all using
VBA. Not pretty and not as easy as it may sound.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services, Inc.
http://PeltierTech.com/WordPress/
_______


"tbraddy" <(E-Mail Removed)> wrote in message
news:3dce75c6-4697-43e0-81fb-(E-Mail Removed)...
>I am trying to plot some data with really long axis label names (40+
> char). The problem is that I cannot change the "area" that the labels
> fit into.
>
> I can change the angle to 45 degrees and everything shows up, but for
> a y axis at 0 degrees it auto word wraps to fit inside the "area". Is
> there a way to modify the area so that I can get my long names on
> there?
>
> I've tried modifying the source cells with Alt+ Enter to see if it
> would break it up onto multiple lines, but it doesn't.
>
> Todd



 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      3rd Feb 2009
Hi,

As Jon mentioned to have complete control you need to use textboxes.
http://www.andypope.info/vba/Axislabel_textboxes.htm

Cheers
Andy

--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
"tbraddy" <(E-Mail Removed)> wrote in message
news:3dce75c6-4697-43e0-81fb-(E-Mail Removed)...
>I am trying to plot some data with really long axis label names (40+
> char). The problem is that I cannot change the "area" that the labels
> fit into.
>
> I can change the angle to 45 degrees and everything shows up, but for
> a y axis at 0 degrees it auto word wraps to fit inside the "area". Is
> there a way to modify the area so that I can get my long names on
> there?
>
> I've tried modifying the source cells with Alt+ Enter to see if it
> would break it up onto multiple lines, but it doesn't.
>
> Todd


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
chart axis labels MAANI Microsoft Access Reports 14 24th Nov 2009 08:55 PM
Long Text Won't Wrap Chart X Axis RoArmstrong Microsoft Excel Charting 1 7th Jul 2008 01:22 PM
Line Wrap in Axis Tick Labels Mike Hogan Microsoft Excel Misc 0 27th Jun 2006 02:21 PM
How to word-wrap X-axis labels in MSChart? =?Utf-8?B?aHN0aWpuZW4=?= Microsoft Access VBA Modules 0 2nd Feb 2006 05:20 PM
how to put x axis values in the chart instead of x axis labels =?Utf-8?B?U2luY2xhaXI=?= Microsoft Excel Charting 1 21st Jun 2005 11:04 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:02 AM.