Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Excel chart series data point gap

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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

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
The viewer will learn how to make their project stand out over others by learning how to change colors and shapes, add spaces, change directions, and add bullets to their charts.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

860 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