Hi Mike, I have code at http://hg.mozilla.org/l10n/django-site/file/4d5ac205dc18/l10nstats/templates/l10nstats/tree_progress.html#l33that does that. Not usable as is, I guess, but the idea is that you manually create an Array of Event objects and then call addMany(yourArray).
The sources of interest are actually inside Timeline, Timeplot just extends those. http://code.google.com/p/simile-widgets/source/browse/timeline/trunk/src/webapp/api/scripts/sources.jsis the file of interest. Axel 2009/12/30 Mike Feldmeier <[email protected]> > Greetings, > > Is there a way to programmatically load data and events into > Timeplot? I have it working through the text and xml files, but I > already have all of the data I need already on the page in JSON form. > I would much rather just inject it into the timeplot control than have > to run two extra queries against the database. I've been looking > through the API, but nothing has jumped out at me. > > Thanks, > Mike > > -- > > You received this message because you are subscribed to the Google Groups > "SIMILE Widgets" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<simile-widgets%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/simile-widgets?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "SIMILE Widgets" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/simile-widgets?hl=en.
