Solved

Excel chart series data point gap

Posted on 1998-11-03
5
808 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

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Some time ago I was asked to create a VBA function that would calculate a check digit for an input number, using the following procedure: First, sum up all the individual digits in the number If that sum value has more than one digit, then sum up …
My experience with Windows 10 over a one year period and suggestions for smooth operation
This video shows and describes the main difference between both orientations in Microsoft Word. Viewers will understand when to use each orientation and how to get the most out of them.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

762 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now