+ Reply to Thread
Results 1 to 7 of 7

timeline chart

  1. #1
    Registered User
    Join Date
    09-23-2003
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    27

    timeline chart

    I'm looking at doing a timeline chart for sleeping patterns.

    The data comes in the following format:
    Please Login or Register  to view this content.
    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.gif

    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.

  2. #2
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: timeline chart

    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)
    Attached Files Attached Files
    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

  3. #3
    Registered User
    Join Date
    09-23-2003
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: timeline chart

    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

  4. #4
    Valued Forum Contributor rwgrietveld's Avatar
    Join Date
    09-02-2008
    Location
    Netherlands
    MS-Off Ver
    XL 2007 / XL 2010
    Posts
    1,671

    Re: timeline chart

    So 2/03/2010 on 1 line (1 period)
    and 3/03/2010 on the second (4 periods)?

  5. #5
    Registered User
    Join Date
    09-23-2003
    Location
    Melbourne
    MS-Off Ver
    Excel 2003
    Posts
    27

    Re: timeline chart

    Quote Originally Posted by rwgrietveld View Post
    So 2/03/2010 on 1 line (1 period)
    and 3/03/2010 on the second (4 periods)?
    Pretty much. I'm hoping to make it dynamic so the user specifies a 24 hour period that they wish to view. I would then need to make sure the very first record has midnight ("00:00") as the From time - unless I can use a charting method that has date scaling ability.

  6. #6
    Registered User
    Join Date
    07-19-2011
    Location
    Conshochocken, PA
    MS-Off Ver
    Excel 2007
    Posts
    1

    Re: timeline chart

    Quote Originally Posted by rwgrietveld View Post
    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)
    This looks good but I'm wondering if there's a way to capture multiple sleep/wake episodes in a single 24 hour period.

  7. #7
    Spammer
    Join Date
    01-26-2010
    Location
    Worcester MA
    MS-Off Ver
    Excel 2003
    Posts
    184
    Jon Peltier
    http://PeltierTech.com/

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1