Time-scale chart measured in hours & minutes

J

John

I am hoping to get a time-scale chart using hours & minutes, as well as days.
I know the generic help response is that it can't be done, but it doesn't
seem possible that this need hasn't been addressed. What is the workaround?
Here is an example of my data set:

Date Time High Blood Pressure Low Blood Pressure
2/5/2007 12:00 AM 182 117
2:00 PM 143 90
6:00 PM 177 112
8:00 PM 166 101
2/6/2007 7:00 AM 159 94
2:30 PM 165 103
2:35 PM 155 94
6:00 PM 177 102
7:00 PM 148 97
10:00 PM 150 86
10:30 PM 121 70
12:20 AM 138 86
 
J

Jon Peltier

Combine time and date into a single column, and don't leave out any dates.
Plot as an XY chart. Format the X axis using a date-time format.

- Jon
 
J

John

Doing this shows every reading for the day in one column, regardless of time.
I'd really like to have it spaced out accurately based on time as well. Could
I be doing something wrong?
 
J

Jon Peltier

When you create a chart, or when you choose Chart Type from the Chart menu,
you are presented with a set of options. One is Line chart, another is XY
chart. They present the data with an identical set of formatting options;
the difference is in how they treat the X axis data. An XY chart treats the
X data as numerical, while a Line chart treats it as categorical. An XY
chart then plots time as a fraction of a day, but since times are fractions
and categories are integral in nature, the line chart plots times either as
separate equally spaced categories or as a series of points on a single
integer day.

That's why I've twice suggested using an XY chart type.

- Jon
 
J

jay gamel

Jon,

I have a similar chart for blood pressure: day/time and systolic/diastolic and pulse. When I select XY chart, all options for Axis (Automatic, Category, Time-Scale) are grayed out whether either or both of the axis boxes are checked. All I get are times, and those are all 12 AM. Cell formats are date, time, number for the data. Any suggestions?

I'll be glad to send screen shots if they would help, or the actual file.

Also, the times format vertical in a line chart, but the dates will not and I cannot find any place to do that, though this may change if the scatter chart actually works.



Jon Peltier wrote:

When you create a chart, or when you choose Chart Type from the Chart menu,
14-Feb-07

When you create a chart, or when you choose Chart Type from the Chart menu,
you are presented with a set of options. One is Line chart, another is XY
chart. They present the data with an identical set of formatting options;
the difference is in how they treat the X axis data. An XY chart treats the
X data as numerical, while a Line chart treats it as categorical. An XY
chart then plots time as a fraction of a day, but since times are fractions
and categories are integral in nature, the line chart plots times either as
separate equally spaced categories or as a series of points on a single
integer day.

That's why I've twice suggested using an XY chart type.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______



Previous Posts In This Thread:

Time-scale chart measured in hours & minutes
I am hoping to get a time-scale chart using hours & minutes, as well as days.
I know the generic help response is that it can't be done, but it doesn't
seem possible that this need hasn't been addressed. What is the workaround?
Here is an example of my data set:

Date Time High Blood Pressure Low Blood Pressure
2/5/2007 12:00 AM 182 117
2:00 PM 143 90
6:00 PM 177 112
8:00 PM 166 101
2/6/2007 7:00 AM 159 94
2:30 PM 165 103
2:35 PM 155 94
6:00 PM 177 102
7:00 PM 148 97
10:00 PM 150 86
10:30 PM 121 70
12:20 AM 138 86

Combine time and date into a single column, and don't leave out any dates.
Combine time and date into a single column, and don't leave out any dates.
Plot as an XY chart. Format the X axis using a date-time format.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______



Doing this shows every reading for the day in one column, regardless of time.
Doing this shows every reading for the day in one column, regardless of time.
I'd really like to have it spaced out accurately based on time as well. Could
I be doing something wrong?

:

Re: Time-scale chart measured in hours & minutes
You missed my second sentence:


- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______

What do you mean XY chart?
What do you mean XY chart? Currently it is in a line chart....

:

When you create a chart, or when you choose Chart Type from the Chart menu,
When you create a chart, or when you choose Chart Type from the Chart menu,
you are presented with a set of options. One is Line chart, another is XY
chart. They present the data with an identical set of formatting options;
the difference is in how they treat the X axis data. An XY chart treats the
X data as numerical, while a Line chart treats it as categorical. An XY
chart then plots time as a fraction of a day, but since times are fractions
and categories are integral in nature, the line chart plots times either as
separate equally spaced categories or as a series of points on a single
integer day.

That's why I've twice suggested using an XY chart type.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______




Submitted via EggHeadCafe - Software Developer Portal of Choice
Entity Framework 4.0 and the AJAX Autocomplete Extender.
http://www.eggheadcafe.com/tutorial...93a-b290f013f649/entity-framework-40-and.aspx
 
J

jay gamel

I'm trying to make a similar chart in Excel Mac 2004. time, date, systolic, diastolic, pulse (FORMATS: time, date,number, number, number). The XY chart grays out all options (automatic,category, time-date) no matter which axis boxes are checked or unchecked. The chart only shows the time as 12 AM and no dates. Any suggestions?



Jon Peltier wrote:

When you create a chart, or when you choose Chart Type from the Chart menu,
14-Feb-07

When you create a chart, or when you choose Chart Type from the Chart menu,
you are presented with a set of options. One is Line chart, another is XY
chart. They present the data with an identical set of formatting options;
the difference is in how they treat the X axis data. An XY chart treats the
X data as numerical, while a Line chart treats it as categorical. An XY
chart then plots time as a fraction of a day, but since times are fractions
and categories are integral in nature, the line chart plots times either as
separate equally spaced categories or as a series of points on a single
integer day.

That's why I've twice suggested using an XY chart type.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______



Previous Posts In This Thread:

Time-scale chart measured in hours & minutes
I am hoping to get a time-scale chart using hours & minutes, as well as days.
I know the generic help response is that it can't be done, but it doesn't
seem possible that this need hasn't been addressed. What is the workaround?
Here is an example of my data set:

Date Time High Blood Pressure Low Blood Pressure
2/5/2007 12:00 AM 182 117
2:00 PM 143 90
6:00 PM 177 112
8:00 PM 166 101
2/6/2007 7:00 AM 159 94
2:30 PM 165 103
2:35 PM 155 94
6:00 PM 177 102
7:00 PM 148 97
10:00 PM 150 86
10:30 PM 121 70
12:20 AM 138 86

Combine time and date into a single column, and don't leave out any dates.
Combine time and date into a single column, and don't leave out any dates.
Plot as an XY chart. Format the X axis using a date-time format.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______



Doing this shows every reading for the day in one column, regardless of time.
Doing this shows every reading for the day in one column, regardless of time.
I'd really like to have it spaced out accurately based on time as well. Could
I be doing something wrong?

:

Re: Time-scale chart measured in hours & minutes
You missed my second sentence:


- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______

What do you mean XY chart?
What do you mean XY chart? Currently it is in a line chart....

:

When you create a chart, or when you choose Chart Type from the Chart menu,
When you create a chart, or when you choose Chart Type from the Chart menu,
you are presented with a set of options. One is Line chart, another is XY
chart. They present the data with an identical set of formatting options;
the difference is in how they treat the X axis data. An XY chart treats the
X data as numerical, while a Line chart treats it as categorical. An XY
chart then plots time as a fraction of a day, but since times are fractions
and categories are integral in nature, the line chart plots times either as
separate equally spaced categories or as a series of points on a single
integer day.

That's why I've twice suggested using an XY chart type.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______



xy chart on Excel for Mac 2004
Jon,

I have a similar chart for blood pressure: day/time and systolic/diastolic and pulse. When I select XY chart, all options for Axis (Automatic, Category, Time-Scale) are grayed out whether either or both of the axis boxes are checked. All I get are times, and those are all 12 AM. Cell formats are date, time, number for the data. Any suggestions?

I'll be glad to send screen shots if they would help, or the actual file.

Also, the times format vertical in a line chart, but the dates will not and I cannot find any place to do that, though this may change if the scatter chart actually works.


Submitted via EggHeadCafe - Software Developer Portal of Choice
WPF Customized Find Control for FlowDocuments
http://www.eggheadcafe.com/tutorial...3-721a40cf910c/wpf-customized-find-contr.aspx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top