I'm looking at doing a timeline chart for sleeping patterns.
The data comes in the following format:
I'm trying to produce a chart which shows the duration of sleep for a user specified 24 hour period that would look somewhat similar to this one: http://raisingchildren.net.au/verve/...es/sleep_1.gifCode:Date Activity From To 2/03/2010 Sleep 21:30 02:40 3/03/2010 Sleep 03:30 06:00 3/03/2010 Sleep 10:20 13:45 3/03/2010 Sleep 15:30 15:50 3/03/2010 Sleep 17:52 18:15
Currently I have only come across using methods like the stacked bar chart and hiding the unused sections - similar to this one: http://pubs.logicalexpressions.com/P...cle.asp?ID=343
This requires that I convert the data to a horizontal format and build padding into it for the non-sleep periods.
Does anyone know of another way of doing this? I'd like to avoid using the cell formatting approach as I am working in 1 minute increments and this won't display well with that approach.
Brad.
You must look at GANT CHARTS. Lots of stuff on the internet.
here is yours. make a duration column with mod(D2-C2,1) and add that to bar chart. First stacked column is set to no fill (Transparent)
Looking for great solutions but hate waiting?
Seach this Forum through Google
www.Google.com (e.g. +multiple +IF site:excelforum.com/excel-general/ )
www.Google.com (e.g. +fill +combobox site:excelforum.com/excel-programming/ )
Ave,
Ricardo
Thanks rwgrietveld
I'm actually familiar with the standard project management style gantt charting for excel. However, the one i'm looking to create has those 5 bars on the same line rather than on their own separate row in the chart - if that makes sense.
Brad
So 2/03/2010 on 1 line (1 period)
and 3/03/2010 on the second (4 periods)?
Looking for great solutions but hate waiting?
Seach this Forum through Google
www.Google.com (e.g. +multiple +IF site:excelforum.com/excel-general/ )
www.Google.com (e.g. +fill +combobox site:excelforum.com/excel-programming/ )
Ave,
Ricardo
Jon Peltier
http://PeltierTech.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks