I'm no JS expert, but based on a past project 
here<http://www.alexstrick.com/timeline/>, 
I think I see where your external controls will need to apply data. It's 
also worth looking at these documentation pages: Timeline 
ThemeClass<http://simile-widgets.org/wiki/Timeline_ThemeClass>and Timeline 
CreatingNewThemes<http://simile-widgets.org/wiki/Timeline_CreatingNewThemes>. 


OK, via the theme, your timeline wants to set a theme.timeline_start and 
theme.timeline_end. 
The values for both are JS Date objects and represent the start/end of your 
Timeline - i.e. the dates before/after which you can't scroll (and I assume 
- not tested - where outlying data isn't drawn). Within your initialising 
createBandInfo 
object, the 'date' property will be the point to which the timeline scrolls 
at start. In the createBandInfo you also stipulate the date scale/label 
type/periodicty - you may need to consider extending the default via your 
own custom date 
ranges<http://simile-widgets.org/wiki/How_to_create_own_date_ranges>
.

Therefore, in your project the middle of the (new) timeline will be the 
'date' and start/end dates will be 'date plus or minus half the desired 
period,which you'll convert in to JS Dates. The bit I'm less clear on is 
how/if you can force a redraw using this revised information or if you 
simply re-initialise the whole Timeline from scratch (IOW< load oaall the 
data again, etc.)

I'm sorry this is an incomplete answer but I hope it helps you move forward 
until someone more experienced can give a better answer.

Regards

Mark

-- 
You received this message because you are subscribed to the Google Groups 
"SIMILE Widgets" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/simile-widgets.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to