Tip: Other languages are Google-Translated. You can visit the English version of this link.
Log in


How to create a chart with date and time on X axis in Excel?


The Chance to Change Your Working Mode


Opening, Viewing and Editing multiple Office documents in a single tabbed window, just like the web browsers.

In Excel, we usually insert a chart to better describe the data. But in some cases, when you create a column/bar/line chart based on a series of date and time, the X axis of the chart may be shown as below screenshot. And in this article, I introduce the way for how to show the date and time on X axis correctly in the Chart.
doc chart with date time 1

Create a chart with date and time on X axis correctly

Export graphics (Pictures/Charts/Shapes/All Types) from workbook to a folder as Gif/Tif/PNG/JPEG

If there are multiple type of graphics in a workbook, and you just want to export all charts across worksheet to a folder as gif of other type of picture, you can use Kutools for Excel's Export Graphics utilty, which only need 3 steps to handle this job .  Click for full-featured 60 days free trial!
doc export graphics
Kutools for Excel: with more than 300 handy Excel add-ins, free to try with no limitation in 60 days.

arrow blue right bubble   Create a chart with date and time on X axis correctly

To display the date and time correctly, you only need to change an option in the Format Axis dialog.

1. Right click at the X axis in the chart, and select Format Axis from the context menu. See screenshot:
doc chart with date time 2

2. Then in the Format Axis pane or Format Axis dialog, under Axis Options tab, check Text axis option in the Axis Type section. See screenshot:
doc chart with date time 3  doc chart with date time 4

3. Click Close or go back to the chart, then then date and time data has been correctly display in the X axis. See screenshot:
doc chart with date time 5

Tabbed browsing & editing multiple Excel workbooks/Word documents as Firefox, Chrome, Internet Explore 10!

You may be familiar to view multiple webpages in Firefox/Chrome/IE, and switch between them by clicking corresponding tabs easily. Here, Office Tab supports similar processing, which allow you to browse multiple Excel workbooks or Word documents in one Excel window or Word window, and easily switch between them by clicking their tabs. Click for free 45-day trial of Office Tab!

ot excel

Recommended Productivity Tools

Ribbon of Excel (with Kutools for Excel installed)

300+ Advanced Features Increase Your Productivity by 71%, and Help You To Stand Out From Crowd!

Would you like to complete your daily work quickly and perfectly? Kutools For Excel brings 300+ cool and powerful advanced features (Combine workbooks, sum by color, split cell contents, convert date, and so on...) for 1500+ work scenarios, helps you solve 82% Excel problems.

  •  Deal with all complicated tasks in seconds, help to enhance your work ability, get success from the fierce competition, and never worry about being fired.
  •  Save a lot of work time, leave much time for you to love and care the family and enjoy a comfortable life now.
  •  Reduce thousands of keyboard and mouse clicks every day, relieve your tired eyes and hands, and give you a healthy body.
  •  Become an Excel expert in 3 minutes, and get admiring glance from your colleagues or friends.
  •  No longer need to remember any painful formulas and VBA codes, have a relaxing and pleasant mind, give you a thrill you've never had before.
  •  Spend only $39, but worth than $4000 training of others. Being used by 110,000 elites and 300+ well-known companies.
  •  60-day unlimited free trial. 60-day money back guarantee. Free upgrade and support for 2 years. Buy once, use forever.
  •  Change the way you work now, and give you a better life immediately!

Office Tab Brings Efficient And Handy Tabs to Office (include Excel), Just Like Chrome, Firefox, And New IE

  • Increases your productivity by 50% when viewing and editing multiple documents.
  • Reduce hundreds of mouse clicks for you every day, say goodbye to mouse hand.
  • Open and create documents in new tabs of same window, rather than in new windows.
  • Help you work faster and easily stand out from the crowd! One second to switch between dozens of open documents!
Say something here...
symbols left.
You are guest ( Sign Up? )
or post as a guest, but your post won't be published automatically.
Loading comment... The comment will be refreshed after 00:00.
  • To post as a guest, your comment is unpublished.
    KIWI · 3 months ago
    But it doesnt show them in right relation to eachother. For example 2 hours and 6 hours are same in chart..
    • To post as a guest, your comment is unpublished.
      Sunny · 2 months ago
      Hi Kiwi, maybe you can paint a chart to show me what you want the chart show.
  • To post as a guest, your comment is unpublished.
    Vilmos · 5 months ago
    This is not OK. It does not show correct order by time just puts the timestamps there as a text in equal distances.
    • To post as a guest, your comment is unpublished.
      Sunny · 4 months ago
      Hello, Vilmos, create the chart after you order the time data, then the chart will display the time in order.