It looks like your overview band is using 'theme2', which I do not see defined anywhere. Is that a typo?
On Fri, Apr 1, 2011 at 2:25 AM, Imran.R <[email protected]> wrote: > Hi, > > I have just started using this Widget, Everything is fine except my > overview band does not show the duration events. Below is my code: > ------ > var eventSource1 = new Timeline.DefaultEventSource(); > > var theme1 = Timeline.ClassicTheme.create(); > theme1.autoWidth = true; > theme1.timeline_start = new Date(Date.UTC(startDate.getFullYear(), > startDate.getMonth()-1, startDate.getDay())); > theme1.timeline_stop = new Date(Date.UTC(endDate.getFullYear(), > endDate.getMonth()+1, endDate.getDay())); > theme1.event.tape.height = 6; > theme1.ether.interval.line.show= true; > theme1.ether.interval.line.opacity= 50; > theme1.event.instant.impreciseOpacity=50; > > > var bandInfos = [ > Timeline.createHotZoneBandInfo({ > width: "80%", // set to a minimum, > autoWidth will then adjust > intervalUnit: Timeline.DateTime.HOUR, > intervalPixels: 160, > zones: zones, > eventSource: eventSource1, > date: startDate, // a date object > theme: theme1, > layout: 'original', // original, overview, > detailed > timeZone: +5 > }), > Timeline.createBandInfo({ > overview: true, > width: "30%", // set to a minimum, > autoWidth will then adjust > intervalUnit: Timeline.DateTime.DAY, > intervalPixels: 60, > eventSource: eventSource1, > date: startDate, // a date object > theme: theme2, > layout: 'overview', // original, overview, > detailed > timeZone: +5 > }) > ]; > > bandInfos[1].syncWith = 0; > bandInfos[1].highlight = true; > ------------- > > what am I missing here, are there any additional parameters for Theme > object? > > regards, > Imran > > -- > 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. > > -- 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.
