Expanding label (text boxes) on bar chart

sarahrosenberg

Board Regular
Joined
Aug 27, 2002
Messages
190
I have created a 100% stacked column graph, with labels on each segment of the column. While the column is roughly 3 inches across, the text label is centered and is limited to only about 1 inch before it wraps the text. I would like to expand the label field so that it can display across the column. :confused: Help!

It looks like this (I don't know how to paste a graph in here, so bear with me - imagine that these are bars from a bar chart :wink: ):
___________________
l//////////////////////////l
l//////////Retail//////////l
l/////////Balance:////////l
l//////////4,687//////////l
l//////////////////////////l

I want it to look like this:
___________________
l//////////////////////////l
l//////////////////////////l
l/Retail Balance: 4,687/l
l//////////////////////////l
l//////////////////////////l
 

Excel Facts

Why does 9 mean SUM in SUBTOTAL?
It is because Sum is the 9th alphabetically in Average, Count, CountA, Max, Min, Product, StDev.S, StDev.P, Sum, VAR.S, VAR.P.
Sorry, I don't think you can resize a DataLabel object. It has Left and Top properties, but not Height or Width properties. If you manually select a DataLabel you can reposition it, but you can't change it's dimensions.
 
Upvote 0
Good job with those bars!

If the number of bars is not likely to change often, consider the use of textboxes in the chart, with each textbox linked to a worksheet cell. The textboxes offer far greater formatting capability than data labels.

To create a textbox linked to a cell, simply select the chart, start with the equal key, then click with the mouse in the cell of interest, and finally press the ENTER key.
 
Upvote 0
Unfortunately, the number of bars will change daily. My stacked bar graph has a bar section for each day of the month. So, a section gets added each day.

But, thanks for the advice!
 
Upvote 0

Forum statistics

Threads
1,221,695
Messages
6,161,360
Members
451,699
Latest member
sfairbro

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