Graphing irregular date/time on X-axis

This has been bothering me for eons and I still have not figured out how to do this correctly.


Often when I collect data, it comes with a date and/or time of when that data was measured. But when I then try to put this into a graph where the X-axis is meant to be a 'timeline' ... what I get is that each datapoint is spaced apart equally, rather than based on those date/time moments it was logged.


For example:

1/mar/2024: 15

5/mar/2024: 16

6/mar/2024: 15


The graph should be 6 intervals wide ... and on intervals 1, 5 and 6 there should be a datapoint with a line connecting them. But what I get is a graph that is 3 intervals wide, and a datapoint on each - again connected by a line.


How on earth do I make this happen?

Posted on Dec 12, 2024 2:41 AM

Reply
Question marked as Top-ranking reply

Posted on Dec 13, 2024 2:21 AM

Hi Rob,

robdejonge wrote:

For future readers: it's important to make sure (as noted above, but it took me a second to figure that out) that the column containing date/time data is *not* in a row/column marked as a header/footers.

Yes, it is not obvious that category graphs (line graphs and most others) require a Header Row/Column for the categories. Scatter Plots do not have categories, but have two variables (X and Y) and the data must be in Body cells.


I find that Template Chooser > Basic > Graphing Basics is a useful resource.


Keep posting in the Numbers forum!


Regards,

Ian.


3 replies
Question marked as Top-ranking reply

Dec 13, 2024 2:21 AM in response to robdejonge

Hi Rob,

robdejonge wrote:

For future readers: it's important to make sure (as noted above, but it took me a second to figure that out) that the column containing date/time data is *not* in a row/column marked as a header/footers.

Yes, it is not obvious that category graphs (line graphs and most others) require a Header Row/Column for the categories. Scatter Plots do not have categories, but have two variables (X and Y) and the data must be in Body cells.


I find that Template Chooser > Basic > Graphing Basics is a useful resource.


Keep posting in the Numbers forum!


Regards,

Ian.


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.

Graphing irregular date/time on X-axis

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