Daniel, First, I'd recommend trying to use the version 2.0 of Timeline (not officially released but stable enough):
http://static.simile.mit.edu/timeline/api-2.0/scripts/timeline-api.js Then, I think you need to install event handlers for catching scrolling events, e.g., tl.getBand(0).addOnScrollListener(function(band) { var centerDate = band.getCenterVisibleDate(); ... now, update the timeplot to match this date ... }); Let us know if that works for you. David Tagg, Daniel wrote: > > Hi, are there any plans to integrate timeline and timeplot the two. A > family member has a medical condition that requires collation of quite > a lot of information, some of it episodic events, some of it covering > periods of time like a course of antibiotics. Some of it is numerical > data – temperature, blood pressure. Visits to the doctor currently > require lots of flicking through notes (the hospitals and ours). If I > could build an app that has the drag-scrolling of timeline, but allows > the (relatively crude) plotting of numerical data, I think it would > really help. > > If anyone could point me at the relevant bits of code (if they already > exist) that would be fantastic. > > Dan > > ------------------------------------------------------------------------ > > _______________________________________________ > General mailing list > [email protected] > http://simile.mit.edu/mailman/listinfo/general > _______________________________________________ General mailing list [email protected] http://simile.mit.edu/mailman/listinfo/general
