Solved

Excel chart series data point gap

Posted on 1998-11-03
5
817 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
[X]
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
  • 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

Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

Question has a verified solution.

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

This article describes how to import an Outlook PST file to Office 365 using a third party product to avoid Microsoft's Azure command line tool, saving you time.
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to  create a slide that will launch other presentations in Microsoft PowerPoint. In the finished slide, each item launches a new PowerPoint presentation and when each is finished it automatically comes back to this slide: …

717 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