How can I have my Grapher axis display date, time, or date and time values?

Grapher can create a graph with data based on dates, times, or dates and times.

When data are stored in the worksheet in date/time format, Grapher will automatically recognize the format and create the axis displaying the dates in most cases. Different date/time formats can be used. 

The dates in the left column are in MM/dd/yy hh:mm AM/PM format.


To create a graph from date/time data, click the Graphs | Create | <graph category> | <plot type> command. Select the data file and click Open. The appropriate axis will automatically be in date/time format.

The X axis is automatically displayed in date/time format.


If the date/time values are formatted with a custom date/time format that is not recognized as date/time by Grapher:

  1. Select the axis.
  2. Click on the Labels tab in the Property Manager.
  3. Check the box in the General section next to Use date/time format.
  4. To format the date/time labels, click the Select button next to Major label date/time format, choose the desired formatting in the Date/Time Format Builder dialog, and click OK


For more information on date/time axis labels, see the Date/Time Axes training video.


Updated September 21, 2018

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


Please sign in to leave a comment.