Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 1
Default Chart with two types of lines

I am plotting data from 2006 and now starting to plot data from 2007 in
a line chart. I would like the line from 2006 to be a solid line, and
the line from 2007 to be a dotted line. This is measuring the same
data, just in different years. When i try to add a different series,
the new line for 2007 appears, and the 2006 line disappears. I'm not
sure how I get both of them to appear at the same time. Any idea what
I'm doing wrong?

B

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 620
Default Chart with two types of lines

Have you checked Chart/ Source Data/ Series tab to see what you've got for
your two series?

It may also be worth thinking about whether it might be worth using XY graph
(confusing named scatter), rather than a line chart. This may depend on
whether you are wishing to plot your two Y data series against a dependent
parameter in an X series, or whether you merely have categories, rather than
values, against which to plot.
--
David Biddulph

wrote in message
ups.com...
I am plotting data from 2006 and now starting to plot data from 2007 in
a line chart. I would like the line from 2006 to be a solid line, and
the line from 2007 to be a dotted line. This is measuring the same
data, just in different years. When i try to add a different series,
the new line for 2007 appears, and the 2006 line disappears. I'm not
sure how I get both of them to appear at the same time. Any idea what
I'm doing wrong?

B



  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 6,582
Default Chart with two types of lines

As David says, an XY chart may be the best way to get what you want.

If you use a line chart, you must remember that each series uses the same X
data as the first series, no matter what you try to impose. So to plot two
year you need to pad the data with blank cells (read with nonproportional
font):

2006 2007
2006Q1 X
2006Q2 X
2006Q3 X
2006Q4 X
2007Q1 X
2007Q2 X
2007Q3 X
2007Q4 X

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


"David Biddulph" wrote in message
...
Have you checked Chart/ Source Data/ Series tab to see what you've got for
your two series?

It may also be worth thinking about whether it might be worth using XY
graph (confusing named scatter), rather than a line chart. This may
depend on whether you are wishing to plot your two Y data series against a
dependent parameter in an X series, or whether you merely have categories,
rather than values, against which to plot.
--
David Biddulph

wrote in message
ups.com...
I am plotting data from 2006 and now starting to plot data from 2007 in
a line chart. I would like the line from 2006 to be a solid line, and
the line from 2007 to be a dotted line. This is measuring the same
data, just in different years. When i try to add a different series,
the new line for 2007 appears, and the 2006 line disappears. I'm not
sure how I get both of them to appear at the same time. Any idea what
I'm doing wrong?

B





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
Adding lines of data to an area chart ahaigh Excel Discussion (Misc queries) 1 June 21st 06 09:25 PM
Area between two lines in a chart Tulane chic New Users to Excel 1 June 13th 06 03:45 PM
Lines on chart don't correlate to values being charted BW Charts and Charting in Excel 1 April 13th 06 07:53 PM
Combine stacked column and line chart w/series lines ancillaries Charts and Charting in Excel 1 April 7th 06 11:51 PM
Force bar chart x-axis labels to two lines? jg70124 Charts and Charting in Excel 1 March 28th 06 11:41 PM


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