ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Charts and Charting in Excel (https://www.excelbanter.com/charts-charting-excel/)
-   -   PlotArea question (https://www.excelbanter.com/charts-charting-excel/141020-plotarea-question.html)

[email protected]

PlotArea question
 
Hi there,

I have a chart I'm trying to build with VBA (Excel 2000). It's a
xlBarClustered type (horizontal bar chart) but it has unusually long
labels. What I want to do is to make the ratio of space for the labels
to bars roughly 75/25. PlotArea seems to include BOTH the data and the
labels, so resizing this doesn't seem to help - I just end up with
more whitespace if I try reducing the plotarea size.

Is there any way of controlling the size of the labels versus the
bars?

Any help much appreciated

Gromit


Andy Pope

PlotArea question
 
Hi,

The simply answer is no. Excel automatically decides the area allocated
to labels.
If you want complete control over the axis labels the best solution
would be to add textboxes. Turn off axis labels and use vba to add,
position and format the appropriate number of textboxes.

Cheers
Andy

wrote:
Hi there,

I have a chart I'm trying to build with VBA (Excel 2000). It's a
xlBarClustered type (horizontal bar chart) but it has unusually long
labels. What I want to do is to make the ratio of space for the labels
to bars roughly 75/25. PlotArea seems to include BOTH the data and the
labels, so resizing this doesn't seem to help - I just end up with
more whitespace if I try reducing the plotarea size.

Is there any way of controlling the size of the labels versus the
bars?

Any help much appreciated

Gromit



All times are GMT +1. The time now is 05:56 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com