Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default excel timeline graph for many units with color

Hi!

I created (using VBScript) the Excel file below from a csv file.
This is data for one day from one unit.
The numbers in the missing column (dif = 1) are how many seconds were missed.
The numbers is the OK column (dif = 0) are how many seconds were recorded
correctly.
The fromTime/toTime columns are correct - just the times are not given in
seconds. (I had to convert them to numeric with 5 decimal places in order to
figure out actual seconds.)

Eventually I'll have to graph about 300 units over an entire month. We'd
want to see visually if there were certain times when many units
misfunctioned, etc. I'd like some advice about what kind of graphs I should
use. I've been checking on the Internet and am quite overwhelmed with all
types of graphs.

I need a timeline from the beginning of the month until the end. OK
recordings should be green colord, missed recordings of less than 1 minute
should be yellow, and more than a minute (60) should be red.

I need as many graphs on one page as possible.

Thanks for any ideas,

Mechi


fromTime toTime dif missing OK
05/01/2008 00:00 05/01/2008 11:03 0 39837
05/01/2008 11:03 05/01/2008 11:04 1 16
05/01/2008 11:04 05/01/2008 11:14 0 627
05/01/2008 11:14 05/01/2008 11:15 1 33
05/01/2008 11:15 05/01/2008 11:59 0 2699
05/01/2008 11:59 05/01/2008 12:00 1 7
05/01/2008 12:00 05/01/2008 12:14 0 903
05/01/2008 12:14 05/01/2008 12:15 1 8
05/01/2008 12:15 05/01/2008 12:29 0 897
05/01/2008 12:29 05/01/2008 12:30 1 12
05/01/2008 12:30 05/01/2008 12:44 0 901
05/01/2008 12:44 05/01/2008 12:45 1 13
05/01/2008 12:45 05/01/2008 17:49 0 18280
05/01/2008 17:49 05/01/2008 18:00 1 621
05/01/2008 18:00 05/01/2008 18:10 0 619
05/01/2008 18:10 05/01/2008 18:29 1 1121
05/01/2008 18:29 05/01/2008 18:29 0 42
05/01/2008 18:29 05/01/2008 18:30 1 18
05/01/2008 18:30 05/02/2008 01:30 0 25216







--------------------------------------------------------------------------------

  #2   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 10
Default excel timeline graph for many units with color

I guess my message was too wordy.
Anyhow, I've looked at the StepChart timeline and the StackedBar -
with different widths. I need a combination, I think, but I have no
idea how to go about programming it. The data can be set up in any
way, since I'm using VBScript.

May 1st 15th 31st

------------||||||||||||||||||--------------||-------||=||----||
=|||||||=|||||-----

The x-axis is a time line. The dashes, equal signs and lines
represent recording OK, missing <60, missing 60
I'll use colors instead of the dash/equal/line.
My graph will have to be viewed at 20% since the numbers are so
different (7 and 39837) and if someone wants details, can see it
enlarged.
Any ideas?
Thanks!
  #3   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 560
Default excel timeline graph for many units with color

On Wed, 4 Jun 2008, in microsoft.public.excel.charting,
said:
I guess my message was too wordy.
Anyhow, I've looked at the StepChart timeline and the StackedBar -
with different widths. I need a combination, I think, but I have no
idea how to go about programming it.


I would use an XY (Scatter) Chart with x error bars. The details are
more awkward to explain than to show, so here's an example:

http://www.branta.demon.co.uk/excel/timeline.xls

Condition your data like this:

fromTime Unit OK miss<60 miss60 starttick
05/01/2008 12:30 0001 0:15:01
05/01/2008 12:44 0001 0:00:13
05/01/2008 12:45 0001 5:04:40
05/01/2008 17:49 0001 0:10:21 0:00:00
05/01/2008 18:00 0001 0:10:19
05/01/2008 18:10 0001 0:18:41 0:00:00
05/01/2008 18:29 0001 0:00:42
05/01/2008 18:29 0001 0:00:18
05/01/2008 18:30 0001 7:00:16
05/01/2008 00:00 0002 11:03:57
05/01/2008 11:03 0002 0:00:16
05/01/2008 11:04 0002 0:10:27
05/01/2008 11:14 0002 0:00:33

Get rid of your toTime because it's not of interest if all the durations
are in the OK and miss columns.

Give your units actual numbers, and use them as the y value. Make three
series that all use the same two columns as x and y.

Now give them three sets of x right error bars, one each. Green for OK,
orange for small miss, and red for long miss.

Use the "starttick" dummy zero as a x left error bar, so your long
misses have bars at both ends.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.
  #4   Report Post  
Posted to microsoft.public.excel.charting
external usenet poster
 
Posts: 8
Default excel timeline graph for many units with color

Thanks - I'm going to definitely try this!!

"Del Cotter" wrote:

On Wed, 4 Jun 2008, in microsoft.public.excel.charting,
said:
I guess my message was too wordy.
Anyhow, I've looked at the StepChart timeline and the StackedBar -
with different widths. I need a combination, I think, but I have no
idea how to go about programming it.


I would use an XY (Scatter) Chart with x error bars. The details are
more awkward to explain than to show, so here's an example:

http://www.branta.demon.co.uk/excel/timeline.xls

Condition your data like this:

fromTime Unit OK miss<60 miss60 starttick
05/01/2008 12:30 0001 0:15:01
05/01/2008 12:44 0001 0:00:13
05/01/2008 12:45 0001 5:04:40
05/01/2008 17:49 0001 0:10:21 0:00:00
05/01/2008 18:00 0001 0:10:19
05/01/2008 18:10 0001 0:18:41 0:00:00
05/01/2008 18:29 0001 0:00:42
05/01/2008 18:29 0001 0:00:18
05/01/2008 18:30 0001 7:00:16
05/01/2008 00:00 0002 11:03:57
05/01/2008 11:03 0002 0:00:16
05/01/2008 11:04 0002 0:10:27
05/01/2008 11:14 0002 0:00:33

Get rid of your toTime because it's not of interest if all the durations
are in the OK and miss columns.

Give your units actual numbers, and use them as the y value. Make three
series that all use the same two columns as x and y.

Now give them three sets of x right error bars, one each. Green for OK,
orange for small miss, and red for long miss.

Use the "starttick" dummy zero as a x left error bar, so your long
misses have bars at both ends.

--
Del Cotter
NB Personal replies to this post will send email to ,
which goes to a spam folder-- please send your email to del3 instead.

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I change the color of some bars in an Excel bar graph? fergusonlaura Charts and Charting in Excel 2 April 3rd 23 01:19 PM
How do I keep the color formatting when pasting excel graph into w HelenO Charts and Charting in Excel 1 July 5th 06 06:59 PM
Timeline graph? Kytro Excel Discussion (Misc queries) 1 June 1st 06 06:04 AM
modified timeline graph [email protected] Charts and Charting in Excel 0 May 30th 06 02:49 AM
How can I color a region of an Excel graph? Buster Charts and Charting in Excel 1 December 21st 05 01:38 PM


All times are GMT +1. The time now is 05:07 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"