Chart size

G

Guest

I have a macro that creats chart. Now I want to be able to set the size of
the plot area exactly. The code I am using is:

With ActiveChart
.PlotArea.Width = 10000
.PlotArea.Height = 10000
...............
End With

However this does not seem to work. I dont know if it is only the relative
size between height and width that can be set this way or..How do you set the
size of the plot area (recording a marco is not useful for me since it does
not give exact size). Do you have to set the size of the whole chart first?
If so how? Please assist me if you have any idea!
 
A

Andy Pope

Hi,

The plotarea is restrained by the chartarea. The chart will not increase
in size to accommodate the plotarea, you will need to check and modify
the chartarea size first.

Cheers
Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top