profcab / simile-widgets

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

TIMELINE: Additional Functionality Needed - Timeline Control #2

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Good day all, I urgently need some help as I have a deadline for my 
project coming Monday the 7th July 2008.

First of all I’m using Visual Web Developer 2008 Express edition and C#

Now I have 3 problems:

1: I have a timeline control (populated by a datasource with some event 
info in my database) on my default page (working as stated).  Also on this 
page I have a free web control: BDPLite (date time picker control).  What 
I would like to do is this.  I would like the user to select a date with 
the date time control and then the timeline must scroll to that specific 
date.

2:  Something is really wrong with the scrolling of the timeline.  I kept 
it standard without adding extra bands only having a date, month year 
band.  What happens is this:  As soon as you double click on the month or 
on the year band the timeline control scrolls into the 1865 or something.

3:  How can I change the color of the dot on the timeline as I have a 
priority drop down list with low, standard and High and I would like to 
change the color based on the selection.

If anyone could please assist me with the above mentioned problems it 
would be highly appreciate it as I am both a novice in C# and ASP.Net.

Please, please, pretty please.

Tx,
Madelein

Original issue reported on code.google.com by Madelei...@gmail.com on 3 Jul 2008 at 2:04

GoogleCodeExporter commented 9 years ago
Item 1: To move the Timeline programmatically, use

band_object.setMinVisibleDate(date)
band_object.setMaxVisibleDate(date)
or
band_object.setCenterVisibleDate(date)

eg 
tl.getBand(0).setCenterVisibleDate(Timeline.DateTime.parseGregorianDateTime(date
))

Item 2. Need an example case

Item 3. use icon attribute of event. See
http://code.google.com/p/simile-widgets/wiki/Timeline_EventSources

Marking as Invalid since there is no test case for item 2.
Added a wiki page explaining the move methods
LarryK

Original comment by larryklu...@gmail.com on 21 Sep 2008 at 12:22

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/simile-widgets/issues/detail?
id=2&can=7&q=google&colspec=ID%20Project%20Type%20Status%20Priority%20Fixed%20Ow
ner%20S
ummary#makechanges

Original comment by daddy.mo...@gmail.com on 28 Dec 2009 at 2:57