how to display the X axis on a chart

zebra7860

Active Member
Joined
Jan 9, 2004
Messages
403
Hello,

I have simple data that I wish to chart in Excel. The format is as follows:

2018.08.06 18:00 7441 7442.5 7439.8 7440.2
2018.08.06 18:30 7440.5 7442.4 7439.8 7441.8
2018.08.06 19:00 7441.9 7443.7 7440 7442.2


The first chart I posted showed the time as well as the graphed the price.

Initially I selected the data, clicked on insert<>charts<>scatter<>scatter as smooth lines. I got a series of 4 lines and removed all but one. Perhaps that was not\
the easiest way of doing it but it worked.

However, the second set of data showed a series of 0 - 10 - 20 - 30 in the X axis.

I want to ensure that the information is correctly displayed on the X axis.

Any ideas?

Thanks,
Al
 

Excel Facts

Fastest way to copy a worksheet?
Hold down the Ctrl key while dragging tab for Sheet1 to the right. Excel will make a copy of the worksheet.
It seems that your time data were by 1/2 hour so:
1. Select the X axis
2. Right click to display menu
3. Select/click format axis...
4. Click on the tab [in format axis] axis options [shows as a little column chart/4th tab]
5. Under Axis Options|Major units], enter 0.0208333333 which is 1/48 as Excel write time as part of day [24 hours] so 1 hour is 1/24 and half hour is 1/48
6. Excel then adjust the minor units automatically
7. Further down, number should be showing as time

Let me know if my explanations make sense to you.
 
Upvote 0
It seems that your time data were by 1/2 hour so:
1. Select the X axis
2. Right click to display menu
3. Select/click format axis...
4. Click on the tab [in format axis] axis options [shows as a little column chart/4th tab]
5. Under Axis Options|Major units], enter 0.0208333333 which is 1/48 as Excel write time as part of day [24 hours] so 1 hour is 1/24 and half hour is 1/48
6. Excel then adjust the minor units automatically
7. Further down, number should be showing as time

Let me know if my explanations make sense to you.

Thank you. I will try that!!
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,173
Members
453,021
Latest member
Justyna P

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top