Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Shadowman13
 
Posts: n/a
Default Problems with X Axis for a Line Chart

I am trying to create a simple line chart, with the following data:

1995 1996 1997 1998 1999

5471 5620 5826 5920 6059

.... but I am unable to generate a chart showing the years (1995, 1996, 1997,
etc.) as labels on the X axis. The chart I end up with interprets the years
as a separate series of data.

Any suggestions?
  #2   Report Post  
John Mansfield
 
Posts: n/a
Default

Click once on the series that represents 1995, 1996, 1997, etc. In the
standard toolbar, go to Chart - Source Data - Series Tab. On the bottom
right side of the dialog box, you will see a formula series references that
look similar to this:

=Sheet1!$A$2:$C$2

You need to find the reference that corresponds with the 1995, 1996, 1997,
etc. data. Copy that series into the box that says "Category, (X) axis
labels".

After that, delete the original series reference from the values box. You
will see an "Add" and "Remove" button. Select the series reference and hit
the "Remove" button.

----
Regards,
John Mansfield
http://www.pdbook.com


"Shadowman13" wrote:

I am trying to create a simple line chart, with the following data:

1995 1996 1997 1998 1999

5471 5620 5826 5920 6059

... but I am unable to generate a chart showing the years (1995, 1996, 1997,
etc.) as labels on the X axis. The chart I end up with interprets the years
as a separate series of data.

Any suggestions?

  #3   Report Post  
Shadowman13
 
Posts: n/a
Default

John - that was 90% of what I needed (very clear instructions, by the way).
How do get the chart to display the year numbers, i.e., 1995, 1996, etc.
along the bottom of the chart, so that the viewer can readily see that value
5471 occurs in 1995; 5620 occurs in 1996 and so on?

"John Mansfield" wrote:

Click once on the series that represents 1995, 1996, 1997, etc. In the
standard toolbar, go to Chart - Source Data - Series Tab. On the bottom
right side of the dialog box, you will see a formula series references that
look similar to this:

=Sheet1!$A$2:$C$2

You need to find the reference that corresponds with the 1995, 1996, 1997,
etc. data. Copy that series into the box that says "Category, (X) axis
labels".

After that, delete the original series reference from the values box. You
will see an "Add" and "Remove" button. Select the series reference and hit
the "Remove" button.

----
Regards,
John Mansfield
http://www.pdbook.com


"Shadowman13" wrote:

I am trying to create a simple line chart, with the following data:

1995 1996 1997 1998 1999

5471 5620 5826 5920 6059

... but I am unable to generate a chart showing the years (1995, 1996, 1997,
etc.) as labels on the X axis. The chart I end up with interprets the years
as a separate series of data.

Any suggestions?

  #4   Report Post  
Jon Peltier
 
Posts: n/a
Default

Unless I'm asleep, John's suggestion should do this. Are you selecting a
range for the Category Labels input box of the Source Data - Series dialog?

To make it work better for subsequent charts, here's a tip: put a label
in front of the Y values, and keep a blank cell in front of the X
Values. The blank cell helps Excel determine what to use for category
labels and series names:

1995 1996 1997 1998 1999
Data 5471 5620 5826 5920 6059

or

Data
1995 5471
1996 5620
1997 5826
1998 5920
1999 6059

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


Shadowman13 wrote:

John - that was 90% of what I needed (very clear instructions, by the way).
How do get the chart to display the year numbers, i.e., 1995, 1996, etc.
along the bottom of the chart, so that the viewer can readily see that value
5471 occurs in 1995; 5620 occurs in 1996 and so on?

"John Mansfield" wrote:


Click once on the series that represents 1995, 1996, 1997, etc. In the
standard toolbar, go to Chart - Source Data - Series Tab. On the bottom
right side of the dialog box, you will see a formula series references that
look similar to this:

=Sheet1!$A$2:$C$2

You need to find the reference that corresponds with the 1995, 1996, 1997,
etc. data. Copy that series into the box that says "Category, (X) axis
labels".

After that, delete the original series reference from the values box. You
will see an "Add" and "Remove" button. Select the series reference and hit
the "Remove" button.

----
Regards,
John Mansfield
http://www.pdbook.com


"Shadowman13" wrote:


I am trying to create a simple line chart, with the following data:

1995 1996 1997 1998 1999

5471 5620 5826 5920 6059

... but I am unable to generate a chart showing the years (1995, 1996, 1997,
etc.) as labels on the X axis. The chart I end up with interprets the years
as a separate series of data.

Any suggestions?

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
Line chart - date line association gone mad! Johannes Czernin Charts and Charting in Excel 5 January 17th 05 09:48 PM
How do I set permanent secondary axis in PivotTable chart? Microlong Charts and Charting in Excel 3 January 8th 05 04:54 AM
Second X axis at top of chart? Phil Hageman Charts and Charting in Excel 1 December 29th 04 02:48 PM
Labels on Chart with Negative Value Axis David F. Schrader Charts and Charting in Excel 6 December 17th 04 07:25 PM
pivot table multi line chart souris Charts and Charting in Excel 2 December 7th 04 04:56 AM


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