Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / Charting / January 2005

Tip: Looking for answers? Try searching our database.

How to move Y-axis values when X range is -a to +b

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
joeu2004@hotmail.com - 30 Jan 2005 19:52 GMT
In an XY Scatter chart, if X has negative and positive
values, the Y-axis values are next to the Y-axis, which
of course is drawn through X = 0.

I would like the Y-axis values to always be on the left
side of the chart.

How can I make that happen?
Michael R Middleton - 30 Jan 2005 20:09 GMT
joeu2004  -

For a "manual" solution: Select the X axis. Choose Format Axis | Scale |
Value (Y) Axis Crosses At.

For an "always" solution, I think you need VBA.

-  Mike

www.mikemiddleton.com

> In an XY Scatter chart, if X has negative and positive
> values, the Y-axis values are next to the Y-axis, which
> of course is drawn through X = 0.
> I would like the Y-axis values to always be on the left
> side of the chart.
> How can I make that happen?
joeu2004@hotmail.com - 31 Jan 2005 01:24 GMT
> For a "manual" solution: Select the X axis.
> Choose Format Axis | Scale | Value (Y) Axis Crosses At.

Thanks.  Silly me:  I kept selecting the Y axis to format,
um, a characteristic of the Y axis.  Klunk!

What you suggest works "well enough".  My only complaint
is that it appears that I must select the "crosses at"
position based on an X-axis value.  If the data changes,
that "crosses at" boundary might change.
But if that's the best I can, that's life!

Thanks so much.
Jon Peltier - 31 Jan 2005 03:27 GMT
If you always want it to cross at the minimum, enter a number that will
always be less than the minimum, like -100000000000. Excel won't really
cross the axis at -100000000000 if the actual minimum on the axis is -150.

An alternative, keep tha axis crossing where Excel wants to, but double
click the Y axis, and on the Patterns tab, select Low for axis label
position, rather than Next to Axis.

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

>>For a "manual" solution: Select the X axis.
>>Choose Format Axis | Scale | Value (Y) Axis Crosses At.
[quoted text clipped - 9 lines]
>
> Thanks so much.
joeu2004@hotmail.com - 31 Jan 2005 23:54 GMT
> If you always want it to cross at the minimum, enter a number that will
> always be less than the minimum, like -100000000000. Excel won't really
> cross the axis at -100000000000 if the actual minimum on the axis is -150.

Okay.  I was afraid Excel might extend the range.
I shoulda tried it first.

> An alternative, keep tha axis crossing where Excel wants to, but double
> click the Y axis, and on the Patterns tab, select Low for axis label
> position, rather than Next to Axis.

Perfect!  Intuitive.  Thanks.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.