Linking lines on a graph with missing data

Hi


I am trying to produce line charts for a series of events. The way it will work is there are 15 days, and measurements are taken at uneven intervals, such as day 1, 2, 3, 7, 12, 13, 14. When I plot these, the line links the plot marks where they are just a day apart, like 1,2,3, leave a dot for 7 and then have a line between 13 and 14. How do I link the line so it can jump the days without any measured data?


Thank you in advance.


Stuart

i-mac, macbook white, Mac OS X (10.6.1)

Posted on Dec 31, 2012 5:10 PM

Reply
2 replies

Jan 1, 2013 1:15 PM in response to um who am i?

What you are describing is what happens when you have empty rows in your data series. Numbers does not have the option of connecting points across a gap.


If you use a line chart (not the scatter chart), you can create a new series in your table that interpolates the missing points. Plot it as a second series with the same line color but no data points. Interpolation across a one row gap is easy to do. Interpolation across several rows is easy to do. Interpolation across a gap that might be one row or might be more is hard to do with a formula that works regardless of the size of the gap (I cannot think of a formula to do it off-hand).


If you use a scatter chart, you can use Reorganize to hide all rows where the Y data is blank. The remaining rows of data will plot and the dots will all be connected. If you don't want to hide rows in your data table, you can create a separate table that pulls in the data. Use that table for your chart, showing only rows that have Y data.


Note that you can use Reorganize for a line chart too but it will not plot the hidden X categories.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Linking lines on a graph with missing data

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.