PC Review


Reply
Thread Tools Rate Thread

How to control y scaling from worksheet

 
 
Marko Pinteric
Guest
Posts: n/a
 
      9th Apr 2006
Dear experts!

I know it is possible to control source data ranges from worksheet.

Is there a way to control y scaling (minimum, maximum) from worksheet too?

Thanks for answers,

Marko


 
Reply With Quote
 
 
 
 
Jon Peltier
Guest
Posts: n/a
 
      9th Apr 2006
Marko -

You need to use VBA to do this for you. Here is the necessary code:

http://peltiertech.com/Excel/Charts/...nkToSheet.html

If you want a ready-to-use solution, try Tushar Mehta's AutoChart Manager
add-in, available as a free download at http://www.tushar-mehta.com.


- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Marko Pinteric" <(E-Mail Removed)> wrote in message
news:e1b6vp$q5b$(E-Mail Removed)...
> Dear experts!
>
> I know it is possible to control source data ranges from worksheet.
>
> Is there a way to control y scaling (minimum, maximum) from worksheet too?
>
> Thanks for answers,
>
> Marko
>



 
Reply With Quote
 
Marko Pinteric
Guest
Posts: n/a
 
      10th Apr 2006

So VBA is the only way.

Thanks for the answer.

Marko

Jon Peltier wrote:
> Marko -
>
> You need to use VBA to do this for you. Here is the necessary code:
>
> http://peltiertech.com/Excel/Charts/...nkToSheet.html
>
> If you want a ready-to-use solution, try Tushar Mehta's AutoChart Manager
> add-in, available as a free download at http://www.tushar-mehta.com.
>
>
> - Jon
> -------
> Jon Peltier, Microsoft Excel MVP
> Peltier Technical Services - Tutorials and Custom Solutions -
> http://PeltierTech.com/
> 2006 Excel User Conference, 19-21 April, Atlantic City, NJ
> http://peltiertech.com/Excel/ExcelUserConf06.html
> _______
>
> "Marko Pinteric" <(E-Mail Removed)> wrote in message
> news:e1b6vp$q5b$(E-Mail Removed)...
>
>>Dear experts!
>>
>>I know it is possible to control source data ranges from worksheet.
>>
>>Is there a way to control y scaling (minimum, maximum) from worksheet too?
>>
>>Thanks for answers,
>>
>>Marko
>>

>
>
>

 
Reply With Quote
 
Jon Peltier
Guest
Posts: n/a
 
      10th Apr 2006
Well, no. I use a non-VBA worksheet function technique in some proprietary
workbooks. It's complex enough that I can't do it justice in a newsgroup
post, and I have not had time to generate a web page describing it.

Basically it requires calculating appropriate axis scale parameters (based
on the data or on user overrides), scaling the data from 0 to 1 (between the
calculated min and max), plotting the transformed data on a scale of 0 to 1,
hiding the regular chart axis, and creating a custom axis based on the
calculated parameters.

The custom axis part is shown here:

http://peltiertech.com/Excel/Charts/...tml#axisscales

Several of these links show the use of transformed data. For now you'll have
to come up with your own algorithms for axis scale parameters.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Peltier Technical Services - Tutorials and Custom Solutions -
http://PeltierTech.com/
2006 Excel User Conference, 19-21 April, Atlantic City, NJ
http://peltiertech.com/Excel/ExcelUserConf06.html
_______

"Marko Pinteric" <(E-Mail Removed)> wrote in message
news:nco_f.1633$(E-Mail Removed)...
>
> So VBA is the only way.
>
> Thanks for the answer.
>
> Marko
>
> Jon Peltier wrote:
>> Marko -
>>
>> You need to use VBA to do this for you. Here is the necessary code:
>>
>> http://peltiertech.com/Excel/Charts/...nkToSheet.html
>>
>> If you want a ready-to-use solution, try Tushar Mehta's AutoChart Manager
>> add-in, available as a free download at http://www.tushar-mehta.com.
>>
>>
>> - Jon
>> -------
>> Jon Peltier, Microsoft Excel MVP
>> Peltier Technical Services - Tutorials and Custom Solutions -
>> http://PeltierTech.com/
>> 2006 Excel User Conference, 19-21 April, Atlantic City, NJ
>> http://peltiertech.com/Excel/ExcelUserConf06.html
>> _______
>>
>> "Marko Pinteric" <(E-Mail Removed)> wrote in message
>> news:e1b6vp$q5b$(E-Mail Removed)...
>>
>>>Dear experts!
>>>
>>>I know it is possible to control source data ranges from worksheet.
>>>
>>>Is there a way to control y scaling (minimum, maximum) from worksheet
>>>too?
>>>
>>>Thanks for answers,
>>>
>>>Marko
>>>

>>
>>


 
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
Worksheet print sizing/scaling without impacting a logo image Carrie Cloud Microsoft Excel Worksheet Functions 2 6th Nov 2009 06:13 AM
Help Excel 2007 - worksheet scaling not working Dab Microsoft Excel Discussion 4 22nd Dec 2008 05:03 PM
How to control y scaling from worksheet Marko Pinteric Microsoft Excel Misc 3 10th Apr 2006 12:54 PM
Control Scaling??? =?Utf-8?B?REVXcmlnaHRfQ0E=?= Microsoft ASP .NET 3 28th Apr 2005 08:54 AM
Control Scaling??? =?Utf-8?B?REVXcmlnaHRfQ0E=?= Microsoft ASP .NET 1 27th Apr 2005 04:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:56 AM.