PonteIneptique / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE. How to display ticks for DAYS in WEEK view on Bands? #190

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Currently WEEK timeline Bands only display the week interval and leave out
a tick mark for the individual days when using

intervalUnit: Timeline.DateTime.WEEK

What I would like to do is display my Band in Week view but have tick marks
that signify the individual days as well.

Essentially, like the diagram below:

| | | |
| June 17 | June 24 | July 1 | July 8
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
S M T W T F S S M T W T F S S M T W T F S S M T W T F S
| | | | | | | | | | | | | | | | | | | | | | | | | | | |
--------------------------------------------------------------------------------
--

Notice how it gives only the date of the WEEK but signifies the individual
days as well.

How does someone accomplish this using only 1 band?

[Submitted by :      Micheal on simile.mit.edu]

David F. Huynh - 14/Jun/07 08:47 PM
Not trivial to do. I'd advise using two bands, one band in weeks (very
narrow, with no event) and one band in days (wide, with events). Sync them
up so they scroll together. If you absolutely want one band, then you have
to write some Javascript. 

Original issue reported on code.google.com by GabrielR...@googlemail.com on 7 Apr 2009 at 2:15