PC Review


Reply
Thread Tools Rate Thread

Autoscaling on XY chart

 
 
Mangesh Yadav
Guest
Posts: n/a
 
      10th Aug 2005
Hi,

Is VBA the only solution to autoscale axis in an XY plot...? I would like to
set the min and max for my x-axis as my data changes. (I know how to do it
through VBA).

Or is there any other short-cut?


--
- Mangesh
------------------------------------------
Office 2003 & Windows XP


 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      10th Aug 2005
Hi,

Unfortunately you can not link the min/max of the scale to cells
directly. I think VBA is the only approach to dynamic updating of those
properties.

Cheers
Andy

Mangesh Yadav wrote:
> Hi,
>
> Is VBA the only solution to autoscale axis in an XY plot...? I would like to
> set the min and max for my x-axis as my data changes. (I know how to do it
> through VBA).
>
> Or is there any other short-cut?
>
>
> --
> - Mangesh
> ------------------------------------------
> Office 2003 & Windows XP
>
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
Mangesh Yadav
Guest
Posts: n/a
 
      10th Aug 2005
Yes, thats true. But I remember vaguely that Tushar Mehta had suggested some
method quite some days back. I may be wrong, it could be for some other
chart type (and not XY).

Mangesh


"Andy Pope" <(E-Mail Removed)> wrote in message
news:uSNng#(E-Mail Removed)...
> Hi,
>
> Unfortunately you can not link the min/max of the scale to cells
> directly. I think VBA is the only approach to dynamic updating of those
> properties.
>
> Cheers
> Andy
>
> Mangesh Yadav wrote:
> > Hi,
> >
> > Is VBA the only solution to autoscale axis in an XY plot...? I would

like to
> > set the min and max for my x-axis as my data changes. (I know how to do

it
> > through VBA).
> >
> > Or is there any other short-cut?
> >
> >
> > --
> > - Mangesh
> > ------------------------------------------
> > Office 2003 & Windows XP
> >
> >

>
> --
>
> Andy Pope, Microsoft MVP - Excel
> http://www.andypope.info



 
Reply With Quote
 
Tushar Mehta
Guest
Posts: n/a
 
      10th Aug 2005
The only option that comes to mind is an add-in that works 'behind the
scenes.' See
AutoChart Manager
http://www.tushar-mehta.com/excel/so...art/index.html

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article <(E-Mail Removed)>,
(E-Mail Removed) says...
> Yes, thats true. But I remember vaguely that Tushar Mehta had suggested some
> method quite some days back. I may be wrong, it could be for some other
> chart type (and not XY).
>
> Mangesh
>
>
> "Andy Pope" <(E-Mail Removed)> wrote in message
> news:uSNng#(E-Mail Removed)...
> > Hi,
> >
> > Unfortunately you can not link the min/max of the scale to cells
> > directly. I think VBA is the only approach to dynamic updating of those
> > properties.
> >
> > Cheers
> > Andy
> >
> > Mangesh Yadav wrote:
> > > Hi,
> > >
> > > Is VBA the only solution to autoscale axis in an XY plot...? I would

> like to
> > > set the min and max for my x-axis as my data changes. (I know how to do

> it
> > > through VBA).
> > >
> > > Or is there any other short-cut?
> > >
> > >
> > > --
> > > - Mangesh
> > > ------------------------------------------
> > > Office 2003 & Windows XP
> > >
> > >

> >
> > --
> >
> > Andy Pope, Microsoft MVP - Excel
> > http://www.andypope.info

>
>
>

 
Reply With Quote
 
Mangesh Yadav
Guest
Posts: n/a
 
      10th Aug 2005
Hi Tushar,

Thanks for the response. I have already checked the addin on your link, and
I don't want to go that way.
I think what I was refering to was probably some other chart type. Anyway,
if I ever find it tou, will let you know.

Mangesh



"Tushar Mehta" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> The only option that comes to mind is an add-in that works 'behind the
> scenes.' See
> AutoChart Manager
> http://www.tushar-mehta.com/excel/so...art/index.html
>
> --
> Regards,
>
> Tushar Mehta
> www.tushar-mehta.com
> Excel, PowerPoint, and VBA add-ins, tutorials
> Custom MS Office productivity solutions
>
> In article <(E-Mail Removed)>,
> (E-Mail Removed) says...
> > Yes, thats true. But I remember vaguely that Tushar Mehta had suggested

some
> > method quite some days back. I may be wrong, it could be for some other
> > chart type (and not XY).
> >
> > Mangesh
> >
> >
> > "Andy Pope" <(E-Mail Removed)> wrote in message
> > news:uSNng#(E-Mail Removed)...
> > > Hi,
> > >
> > > Unfortunately you can not link the min/max of the scale to cells
> > > directly. I think VBA is the only approach to dynamic updating of

those
> > > properties.
> > >
> > > Cheers
> > > Andy
> > >
> > > Mangesh Yadav wrote:
> > > > Hi,
> > > >
> > > > Is VBA the only solution to autoscale axis in an XY plot...? I would

> > like to
> > > > set the min and max for my x-axis as my data changes. (I know how to

do
> > it
> > > > through VBA).
> > > >
> > > > Or is there any other short-cut?
> > > >
> > > >
> > > > --
> > > > - Mangesh
> > > > ------------------------------------------
> > > > Office 2003 & Windows XP
> > > >
> > > >
> > >
> > > --
> > >
> > > Andy Pope, Microsoft MVP - Excel
> > > http://www.andypope.info

> >
> >
> >



 
Reply With Quote
 
Paolo
Guest
Posts: n/a
 
      10th Aug 2005
On Wed, 10 Aug 2005 17:10:05 +0530, "Mangesh Yadav"
<(E-Mail Removed)> wrote:

>Hi Tushar,
>
>Thanks for the response. I have already checked the addin on your link, and
>I don't want to go that way.
>I think what I was refering to was probably some other chart type. Anyway,
>if I ever find it tou, will let you know.
>
>Mangesh
>



The only other way I can think of is to create a "fake" data set that
only contains the data that fall within your boundaries and then let
the chart auto-scale options sort it out.

i.e. if you want the "x-axis" to be from 5 to 10 then you'd filter out
any data points where the x value was outside this range.



 
Reply With Quote
 
Mangesh Yadav
Guest
Posts: n/a
 
      11th Aug 2005
Hi Paolo,

Thanks for the response. Anyway, at the moment I am going ahead with the VBA
solution.

Mangesh


"Paolo" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> On Wed, 10 Aug 2005 17:10:05 +0530, "Mangesh Yadav"
> <(E-Mail Removed)> wrote:
>
> >Hi Tushar,
> >
> >Thanks for the response. I have already checked the addin on your link,

and
> >I don't want to go that way.
> >I think what I was refering to was probably some other chart type.

Anyway,
> >if I ever find it tou, will let you know.
> >
> >Mangesh
> >

>
>
> The only other way I can think of is to create a "fake" data set that
> only contains the data that fall within your boundaries and then let
> the chart auto-scale options sort it out.
>
> i.e. if you want the "x-axis" to be from 5 to 10 then you'd filter out
> any data points where the x value was outside this range.
>
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
autoscaling of winforms =?Utf-8?B?QVZM?= Microsoft Dot NET Framework Forms 1 6th Jun 2007 12:14 PM
autoscaling of winforms =?Utf-8?B?QVZM?= Microsoft Dot NET Framework 1 5th Jun 2007 06:29 PM
autoscaling of winforms =?Utf-8?B?QVZM?= Microsoft Dot NET Framework Forms 1 4th Jun 2007 03:18 PM
need help on autoscaling on win forms =?Utf-8?B?QVZM?= Microsoft Dot NET Framework 0 4th Jun 2007 01:26 PM
Autoscaling a chart bliten_bsas Microsoft Excel Programming 0 1st Nov 2006 09:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:52 AM.