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

Hi all

Im having a few troubles sizing charts in a worksheet. I have created
5 charts on a new worksheet and have sized them by using

Set plotting = ThisWorkbook.Sheets("plotting")

Set ch = plotting.ChartObjects.Add(Left_Plot, Top_Plot, width_plot,
height_plot)
ch.Chart.ChartWizard Source:=plot_data, _
Gallery:=xlXYScatter, Format:=3, PlotBy:=xlColumns,
CategoryLabels:=1, SeriesLabels:=0, HasLegend:=2


All works well with this snippet however unless all charts have the
same width I find that the height of the plot on the worksheet varies
by up to a 1cm. not much but it makes the presentation look @#$#@

I am using Excel 2003, the charts I want to create have the following
widths

chart1=180
chart2=100
chart3=220
chart4=100
chart5=100

I am a bit perplexed so any help would be great

Cheers

Ian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Chart sizing inconsistant

Chart dimensions are largely determined by the content of the chart. If you
fix one dimension, the other is adjusted accordingly. Perhaps you can try
scaling the chart to achieve the effect you want. Or you can make a picture
of the chart and scale the pictures. Then display those.

--
Regards,
Tom Ogilvy

"Ian Mangelsdorf" wrote in message
m...
Hi all

Im having a few troubles sizing charts in a worksheet. I have created
5 charts on a new worksheet and have sized them by using

Set plotting = ThisWorkbook.Sheets("plotting")

Set ch = plotting.ChartObjects.Add(Left_Plot, Top_Plot, width_plot,
height_plot)
ch.Chart.ChartWizard Source:=plot_data, _
Gallery:=xlXYScatter, Format:=3, PlotBy:=xlColumns,
CategoryLabels:=1, SeriesLabels:=0, HasLegend:=2


All works well with this snippet however unless all charts have the
same width I find that the height of the plot on the worksheet varies
by up to a 1cm. not much but it makes the presentation look @#$#@

I am using Excel 2003, the charts I want to create have the following
widths

chart1=180
chart2=100
chart3=220
chart4=100
chart5=100

I am a bit perplexed so any help would be great

Cheers

Ian



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 17
Default Chart sizing inconsistant



Thanks Tom I need the charts to be linked so Scaling it is

Cheers

Ian

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
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
Chart Sizing Handles Brian Gardner Charts and Charting in Excel 3 June 28th 08 08:16 PM
sizing a chart Jordan Charts and Charting in Excel 1 February 13th 07 07:30 PM


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

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"