- To post as a guest, your comment is unpublished.· 1 years agoI did not found Excel 2020, just 365 2019, which menus are the same as 2013,2016 version.
How to create a chart with date and time on X axis in Excel?
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.
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:
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:
If you use the excel version later than 2010, you can see a Format Axis pane pops out, and check Text axis option under Axis Type in the Axis Options group.
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:
Create a speedometer chart with two steps！
|Sometimes, you may want to use a speedometer chart to display the pricessing of a project, but in Excel, to create a speedometer chart needs many steps which is complex and wasting time. Here, the Speedometer chart tool in Kutools for Excel can help you create a standard speedometer chart by two simplesteps. Download this tool with free 30-day trial now.|
You are guest
or post as a guest, but your post won't be published automatically.
- To post as a guest, your comment is unpublished.· 1 years agoExcel menus have changed - this is an out of date article - please update for 2020 .. e.g where is AXIS TYPE now?
- To post as a guest, your comment is unpublished.· 2 years agoHow do I remove days that don't have data in them. Example 8/1-8/31 but not data was captured on 8/3 or 8/4, how do I remove those dates from my graph? They are not in my data table so why is it pulling them?
- To post as a guest, your comment is unpublished.· 1 years agoOpen the Excel file that holds the chart from which you want to exclude dates. Click the X-axis, located underneath the chart, so that it becomes surrounded by a small box. Right-click inside the box and choose "Format Axis" from the popup menu. Click "Axis Options" on the left side of the "Format Axis" window. Locate the three "Axis Type" options in the middle of the screen on the right side of the window. Click the radio button next to "Text axis."
- To post as a guest, your comment is unpublished.· 2 years agoHi, TJ Roberts, this tutorial may help you https://www.extendoffice.com/documents/excel/4374-excel-skip-blanks-in-chart.html
- To post as a guest, your comment is unpublished.· 2 years agoHi, I have an issue here. When I opened "Format Axis" and "Axis Options", there is no "Axis Type" choice here
- To post as a guest, your comment is unpublished.· 2 years agoHi, Agassi, which Excel version you use?
- To post as a guest, your comment is unpublished.· 2 years agoEasy, useful, but i didn't know. Thanks a lot
- To post as a guest, your comment is unpublished.· 2 years agoBut 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.· 2 years agoHi 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.· 2 years agoThis 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.· 2 years agoI'm having the same issue. It would be better for the x-axis to show the time not as evenly spaced category labels, but in actual proportion to the durations between the time values. Example: Here's data on world population by year (note that the intervals between years are not evenly spaced):
An Excel line chart depicts this data on a fairly even slope (I'd post a picture, but this interface only allows text); however, the generally declining time intervals SHOULD yield a graph that looks much more exponential.
I was able to "fake" it by inserting rows in the data table for each year with no data (e.g., 122 rows for the years between 1804 and 1927 exclusive, 32 rows for the years between 1927 and 1960, etc.), so my graph looks more proportional now, but this has its own disadvantages. There are MANY empty rows and much wasted table space. I'd love to learn a better way to get Excel to treat time values in the x-axis as actual time values, rather than mere category labels
- To post as a guest, your comment is unpublished.· 7 months agoYou should use a Scatter graph and the problem is resolved. I used YOUR data and immediately achieved the desired result with a scatter graph (Excel 2010). I then changed it to a standard line graph and achieved your "fairly even slope". XY graphs are perfect for time data that does NOT have the "same" time interval between them. If you had the population each year, there would be no difference between line and scatter. If you had no access to "scatter", then you would have to put in the missing years (without data) and then the line graph would be the same as the scatter, but the scatter is EASIER.
- To post as a guest, your comment is unpublished.· 2 years agoHello, Vilmos, create the chart after you order the time data, then the chart will display the time in order.
- To post as a guest, your comment is unpublished.· 2 years agoNope, you didnt' understand him. It's not proportional.
- To post as a guest, your comment is unpublished.· 2 years agoexactly.
i am looking desperately for that.
do you know any other software to create that graph?
- To post as a guest, your comment is unpublished.· 2 years agoI did it in Google Sheets, and it was pretty straight forward.
It was able to graph using a column with DateTime values for the x-axis, with appropriate spacing, and without having to resort to treating that column as text. It worked with the cells in that column formatted as either a date, or in datetime format. There weren't many options for the spacing on the x-axis lables, but at least you can hover over the trends and see the x-axis value for a given point, in whatever way the cells are formatted. Frustrating that there doesn't seem to be a way in Excel.