Solved

Excel chart series data point gap

Posted on 1998-11-03
5
812 Views
Last Modified: 2008-02-26
how does one place a gap in the line of a line graph, at a point where no data is available?
example (my problem) is a sampling site, where samples are taken each year.  data best viewed using line graph but in some years no sample was taken.  how to show this data best is to keep the line going but have a small gap at the point in the line where the data would have been.  like this...    ---|  |----  where the gap between the pipes is the year that wasn't sampled.
0
Comment
Question by:benaltoft
  • 2
  • 2
5 Comments
 

Author Comment

by:benaltoft
ID: 1614303
Adjusted points to 100
0
 
LVL 1

Expert Comment

by:dtavassoli
ID: 1614304
Not really a perfect answer, but you can leave a gap between the data points, Excel will create a point at 0, click on the graph, click on the extra point, you'll get a up-down arrow, drag the point to where you'd like it (I suppose you could even automatically calculate the value here), the right click and choose a different point marker (don't forget to colour it, or it won't show).

Sorry, no || though.

Another solution is to not add an extra point, go to the point after the missing data, go into the point properties (same as before) and change line type to dotted lines. It will probably look cleaner.

If this helps, buzz and I'll repost as an answer.

Dom
0
 
LVL 1

Expert Comment

by:knutt
ID: 1614305
Select the graph and goto Tools:Options:Graph. Here you can select between "Not plotted (leave gaps)", "Zero" and "Interpolated". Select the first one.
0
 

Author Comment

by:benaltoft
ID: 1614306
Ok this isn't what i really wanted.  i just wanted a SMALL gap where the missing data point is.  i have seen it done- i.e. i have seen the finished result of it, but the person who did it is way gone and they didn't leave the original file.  bloody hard to explain without showing you the original chart!!        
0
 
LVL 1

Accepted Solution

by:
knutt earned 100 total points
ID: 1614307
There is no way in excel to manipulate the X axis like you want to. Sorry. Have you tried removing <b>some</b> of the unwanted years - like this:

Year      Value
1      3
2      4
3      3
4      5
[…]      
9      3
10      4
11      3

By formatting the chart to use the title descriptions in the leftmost column, Excel will present a line resembling this:

1      2      3      4      […]      9      10      11

0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Problem: You created a new custom form in Outlook for your contacts (added fields, deleted fields, changed the layout of fields, whatever) and made it the default form for contacts. The good news is that all new contacts will utilize the new form. T…
Using Word 2013, I was experiencing some incredible lag when typing.  Here's what worked for me....
This video shows where to find templates, what they are used for, and how to create and save a custom template using Microsoft Word.
The viewer will learn how to simulate a series of coin tosses with the rand() function and learn how to make these “tosses” depend on a predetermined probability. Flipping Coins in Excel: Enter =RAND() into cell A2: Recalculate the random variable…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question