Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 49
Default Problem with xy scatter with dates

I am trying to create an x-y scatter chart where both the x values and the y
values are dates. I highlight the 2 adjacent columns of date data and click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a count
of the data points as in a line chart.
If the 2 columns of data are not dates, I get the correct scatter chart, but
not if the x-values are dates in which case I get a line chart. How can I
get a scatter chart with both x-values and y-values as dates?
  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Problem with xy scatter with dates

You could select just the Y values, start the wizard, and in step 2, click
on the Series tab, then select the X value dates.

Or you could put a label over the Y value dates, and leave the cell above
the X values blank, select the row with one label as part of the data range,
and start the wizard.

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


"janet" wrote in message
...
I am trying to create an x-y scatter chart where both the x values and the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.
If the 2 columns of data are not dates, I get the correct scatter chart,
but
not if the x-values are dates in which case I get a line chart. How can I
get a scatter chart with both x-values and y-values as dates?



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 49
Default Problem with xy scatter with dates

I am in Excel 2007, and I don't see a series tab. I tried using the Select
Data window but excel insists on creating a line graph when I change the data
to the 2 columns of date values.

"Jon Peltier" wrote:

You could select just the Y values, start the wizard, and in step 2, click
on the Series tab, then select the X value dates.

Or you could put a label over the Y value dates, and leave the cell above
the X values blank, select the row with one label as part of the data range,
and start the wizard.

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


"janet" wrote in message
...
I am trying to create an x-y scatter chart where both the x values and the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.
If the 2 columns of data are not dates, I get the correct scatter chart,
but
not if the x-values are dates in which case I get a line chart. How can I
get a scatter chart with both x-values and y-values as dates?




  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Problem with xy scatter with dates

I hate 2007. You should be able to click the Edit button under Horizontal
Category X Axis Labels to select the range you want, but I guess they didn't
think you'd want to change from generic numbers (1, 2, 3,...) to real data.
So the button is disabled.

So follow the other approach, which Del also mentioned, and put a label
above the column of Y values and remove any label from above the column of X
values, then make the chart.

Well, there's a third way. After making the chart with just Y values, the
series formula looks like this:

=SERIES(,,Sheet1!$C$4:$C$26,1)

Click in the formula so the cursor is blinking between the first and second
commas, then select the range with the X values.

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


"janet" wrote in message
...
I am in Excel 2007, and I don't see a series tab. I tried using the Select
Data window but excel insists on creating a line graph when I change the
data
to the 2 columns of date values.

"Jon Peltier" wrote:

You could select just the Y values, start the wizard, and in step 2,
click
on the Series tab, then select the X value dates.

Or you could put a label over the Y value dates, and leave the cell above
the X values blank, select the row with one label as part of the data
range,
and start the wizard.

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


"janet" wrote in message
...
I am trying to create an x-y scatter chart where both the x values and
the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart with
2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.
If the 2 columns of data are not dates, I get the correct scatter
chart,
but
not if the x-values are dates in which case I get a line chart. How
can I
get a scatter chart with both x-values and y-values as dates?






  #5   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Problem with xy scatter with dates

My bad. Well, not just mine, the dialog design led me to this incorrect
conclusion.

XY charts don't have "category labels", so that half of the dialog is to be
ignored for an XY chart. In 2003, the category labels input box was hidden
for XY charts, but that interface was nicely designed.

So. In the Select Data dialog, select the series, then click the Edit button
above the series list. On the child dialog that appears, you can enter the X
value range.


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


"Jon Peltier" wrote in message
...
I hate 2007. You should be able to click the Edit button under Horizontal
Category X Axis Labels to select the range you want, but I guess they
didn't think you'd want to change from generic numbers (1, 2, 3,...) to
real data. So the button is disabled.

So follow the other approach, which Del also mentioned, and put a label
above the column of Y values and remove any label from above the column of
X values, then make the chart.

Well, there's a third way. After making the chart with just Y values, the
series formula looks like this:

=SERIES(,,Sheet1!$C$4:$C$26,1)

Click in the formula so the cursor is blinking between the first and
second commas, then select the range with the X values.

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


"janet" wrote in message
...
I am in Excel 2007, and I don't see a series tab. I tried using the
Select
Data window but excel insists on creating a line graph when I change the
data
to the 2 columns of date values.

"Jon Peltier" wrote:

You could select just the Y values, start the wizard, and in step 2,
click
on the Series tab, then select the X value dates.

Or you could put a label over the Y value dates, and leave the cell
above
the X values blank, select the row with one label as part of the data
range,
and start the wizard.

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


"janet" wrote in message
...
I am trying to create an x-y scatter chart where both the x values and
the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart
with 2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.
If the 2 columns of data are not dates, I get the correct scatter
chart,
but
not if the x-values are dates in which case I get a line chart. How
can I
get a scatter chart with both x-values and y-values as dates?









  #6   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default Problem with xy scatter with dates

On Wed, 10 Sep 2008, in microsoft.public.excel.charting,
janet said:
I am trying to create an x-y scatter chart where both the x values and the y
values are dates. I highlight the 2 adjacent columns of date data and click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a count
of the data points as in a line chart.


It's not a line chart, as you can see by going to the x axis Format
Scale dialogue. You'll see the scale is an interval scale instead of the
characteristic Line Chart category scale.

What you've done is labelled both columns, so the wizard thinks you're
inserting two y series and no x. Move the left column heading
temporarily out of that cell and run the wizard again with the cell
blank. The wizard will properly pick up the x scale series then, and you
can move the column header back.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #7   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Problem with xy scatter with dates


"Del Cotter" wrote in message
...
On Wed, 10 Sep 2008, in microsoft.public.excel.charting,
janet said:
I am trying to create an x-y scatter chart where both the x values and the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.


It's not a line chart, as you can see by going to the x axis Format Scale
dialogue. You'll see the scale is an interval scale instead of the
characteristic Line Chart category scale.

What you've done is labelled both columns, so the wizard thinks you're
inserting two y series and no x. Move the left column heading temporarily
out of that cell and run the wizard again with the cell blank. The wizard
will properly pick up the x scale series then, and you can move the column
header back.


Normally when you create an XY chart, Excel uses the first column as X
values, regardless of the presence or absence of any labels. This is in
contrast to the behavior when creating a Line chart. I think the date
formatting of the data interferes with Excel's range parsing algorithms, so
the XY chart in this one case behaves like a line chart.

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



  #8   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 49
Default Problem with xy scatter with dates

Eliminating the column title on the X-values did the trick. Thank you so
much.

"Jon Peltier" wrote:


"Del Cotter" wrote in message
...
On Wed, 10 Sep 2008, in microsoft.public.excel.charting,
janet said:
I am trying to create an x-y scatter chart where both the x values and the
y
values are dates. I highlight the 2 adjacent columns of date data and
click
on InsertScatter. Instead of a scatter graph, I get a line chart with 2
lines (the two data columns). The x values on the graph are simply a
count
of the data points as in a line chart.


It's not a line chart, as you can see by going to the x axis Format Scale
dialogue. You'll see the scale is an interval scale instead of the
characteristic Line Chart category scale.

What you've done is labelled both columns, so the wizard thinks you're
inserting two y series and no x. Move the left column heading temporarily
out of that cell and run the wizard again with the cell blank. The wizard
will properly pick up the x scale series then, and you can move the column
header back.


Normally when you create an XY chart, Excel uses the first column as X
values, regardless of the presence or absence of any labels. This is in
contrast to the behavior when creating a Line chart. I think the date
formatting of the data interferes with Excel's range parsing algorithms, so
the XY chart in this one case behaves like a line chart.

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




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
X Y Scatter Chart - Dates on X axis starting at 1900 [email protected] Charts and Charting in Excel 1 June 27th 08 03:09 PM
xy scatter - dates off Alicia Charts and Charting in Excel 4 April 21st 08 06:36 PM
dates on scatter chart axis Jake Charts and Charting in Excel 1 January 26th 08 04:55 PM
(XY) scatter problem Hetz Charts and Charting in Excel 2 June 27th 06 08:00 PM
the dates to label the x axis on the scatter chart won't print waterlady Charts and Charting in Excel 0 November 29th 04 06:44 PM


All times are GMT +1. The time now is 09:49 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"