Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 26
Default Chart sizing

Hi,

I'm working with the Excel object model for 2007 and am trying to set up a
page so that it is neatly formatted with graphs and cells lining up in a
specific sequence. I'm having difficulties in how the chart sizing works
compared with the cell width etc. Ideally i want to set the set certain cells
in the chart to the width of a column in the charts plot area. I can get the
plot area width and left position but the sizes don't appear to relate to the
cell sizing.

Is there any way i can do this? All help is greatly appreciated.

G
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default Chart sizing

"certain cells in the chart"?? You mean, for example, you want the category
axis scale to be aligned with the underlying cells? This can be done, within
a pixel or so.

Note that there is a difference between the PlotArea.Height (and other
properties) and the PlotArea.InsideHeight (and other InsideX properties).
The InsideX properties describe the plotting rectangle without adding any
space for axis ticks and labels and the like. The InsideX dimensions are
read-only, so you have to set the outer dimensions with enough slack so the
InsideX dimensions end up how you want them.

Also note that there's a certain small offset, that a plot area that begins
at 0,0 is slightly lower and to the right of the corner of the parent chart
object. This offset is somewhat different in 2007 than prior versions.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
Peltier Technical Services, Inc. - http://PeltierTech.com
_______



"GS80" wrote in message
...
Hi,

I'm working with the Excel object model for 2007 and am trying to set up a
page so that it is neatly formatted with graphs and cells lining up in a
specific sequence. I'm having difficulties in how the chart sizing works
compared with the cell width etc. Ideally i want to set the set certain
cells
in the chart to the width of a column in the charts plot area. I can get
the
plot area width and left position but the sizes don't appear to relate to
the
cell sizing.

Is there any way i can do this? All help is greatly appreciated.

G



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Chart sizing WA Excel Discussion (Misc queries) 0 May 4th 10 04:27 PM
Chart Sizing WA Charts and Charting in Excel 0 May 3rd 10 08:48 PM
chart sizing afdmello Charts and Charting in Excel 1 June 20th 09 10:40 PM
sizing a chart Jordan Charts and Charting in Excel 1 February 13th 07 07:30 PM
Sizing a chart donbowyer Excel Programming 2 September 16th 05 12:49 AM


All times are GMT +1. The time now is 01:17 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"