Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
Tim
 
Posts: n/a
Default X axis scale on an XY scatter plot

Hi all,

I have created an XY scatter plot with date values on the x axis, the
problem is that my data starts in 1971 yet the x axis goes back to
1900. I cannot access the check box to make the x axis time scale as it
is greyed out in the chart options form.

I have made a bit of a mess of describing my problem but if anyone has
come accross this before or knows how to get an XY scatterplot to
automatically start its x axis values with the minimum x value given to
it, I would be grateful.

I can fix this using vba but I would rather not.

Regards,

Tim

  #2   Report Post  
Posted to microsoft.public.excel.charting
Jon Peltier
 
Posts: n/a
Default X axis scale on an XY scatter plot

The problem is likely that Excel recognizes your column of dates as
non-numerical labels. When an XY chart has non-numerical X values, it
reverts to using 1, 2, 3, etc. for the plotted X values. Excel's date system
starts on 1/1/1900, which is why your scale starts at 1900 with a date
format applied to the axis.

Look for non-numerical dates or blank cells within the X value range. If
your data was imported from a database, it's not unlikely that's where the
error crept in.

If the data looks like a date but isn't (remove horizontal formatting: are
the cells left-aligned? numbers are right aligned), you might be able to
fake out Excel: copy a blank cell, select the data, use Paste Special from
the Edit menu, and choose the Values and Operation - Add options. This tries
to add zero (the value of the blank cell) to the "dates", and makes Excel
try to convert them to numbers to perform the operation.

- 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
_______

"Tim" wrote in message
oups.com...
Hi all,

I have created an XY scatter plot with date values on the x axis, the
problem is that my data starts in 1971 yet the x axis goes back to
1900. I cannot access the check box to make the x axis time scale as it
is greyed out in the chart options form.

I have made a bit of a mess of describing my problem but if anyone has
come accross this before or knows how to get an XY scatterplot to
automatically start its x axis values with the minimum x value given to
it, I would be grateful.

I can fix this using vba but I would rather not.

Regards,

Tim



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
how to add a second x axis with same Y axis value in one plot Mike Charts and Charting in Excel 1 October 19th 05 08:42 AM
Chaning X axis scale in Excel 2003 wendythelwell Charts and Charting in Excel 2 August 9th 05 02:35 PM
Can I copy x-y scatter plot data direct from one plot to another? Chris Charts and Charting in Excel 2 June 3rd 05 01:20 PM
How do u set the PLOT AREA to nearest mm in Excel Scatter Graph . fh Charts and Charting in Excel 0 June 3rd 05 01:07 PM
Locking the scale ratio of X-Y axis in XY scatter charts DK-Mech Charts and Charting in Excel 4 January 28th 05 09:13 AM


All times are GMT +1. The time now is 04:09 PM.

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

About Us

"It's about Microsoft Excel"