?
Solved

Excel chart series data point gap

Posted on 1998-11-03
5
Medium Priority
?
826 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 200 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

Visualize your virtual and backup environments

Create well-organized and polished visualizations of your virtual and backup environments when planning VMware vSphere, Microsoft Hyper-V or Veeam deployments. It helps you to gain better visibility and valuable business insights.

Question has a verified solution.

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

In Part II of this series, I will discuss how to identify all open instances of Excel and enumerate the workbooks, spreadsheets, and named ranges within each of those instances.
If you need to forecast numbers -- typically for finance -- the Windows and Mac versions of Excel 2016 have a basket of tools to get the job done.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

801 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