I have a timeline with a bandInfo definition like this:

            var bandInfos = [
                Timeline.createBandInfo({
                    width: "90%",
                    intervalUnit: Timeline.DateTime.DAY,                   
   
                    intervalPixels: intPix,
                    eventSource: eventSourceBio,
                    date: d,
                    theme: theme
                })

I would like to replace the line

intervalUnit: Timeline.DateTime.DAY, 

with 

intervalUnit: timeUnit,


where timeUnit is a variable defined previously. 

The line

intervalPixels: intPix,

,  where intPix is a variable, seems to work OK; but using a variable for 
intervalUnit results in no timeline being displayed.


TIA


-- 
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/d/optout.

Reply via email to