That makes a lot of sense Mark, I now have an idea of how the thing works. Problem is, the width of the visible part is not of a fixed number of pixels; it is all dependent on your settings of 'intervalUnit' and 'intervalPixels' in the bandInfos variable. 'intervalPixels' tells the API how many pixels I want to use to represent my desired unit (the 'intervalUnit'). I know for sure that I want the 'intervalUnit' to be week; the user of my timeline has to tell me how many weeks they would like to see. I feel that the only attribute I can manipulate to afftect the visible duration is the 'intervalPixels'. I am thinking of using the stated number of weeks to dynamically decide the intervalPixels such that only the desired number of weeks are visible on the screen. The fact that the number of pixels on the visible screen is not fixed leaves me confused on how to proceed (unless I've got the concept all wrong?).
Cheers, Sara. -- 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.
