Hi Jorge,

You're right, the trackNum attribute is not used at this time by the overview 
painter. 

If you'd like to supply a the code to fix that, it'd be appreciated. -- You 
could use the code in the original-painter as a guide.

Please file this issue as an rfe in the issues tracker.

Thanks,

Larry




________________________________
From: Jorge <[email protected]>
To: SIMILE Widgets <[email protected]>
Sent: Thursday, March 12, 2009 1:34:33 PM
Subject: trackNum isn´t applied to 'overview' Band


Hi,
I´m trying trackNum and found out that if you have a band with layout
'overview' (Timeline.createBandInfo({layout: 'overview',..... ) The
events don´t appear correctly and sorted as in the bands with the
layout 'original'(they both must   have  the same eventSource).

You can try this with this simple json
{"dateTimeFormat": "iso8601", "events" : [
{"start" :"2009-03-12T02:00:00+00:00","end" 
:"2009-03-31T02:00:00+00:00","instant" :
"false","title" :
"second","color" :"#0000FF","trackNum" :"2","description" : "two"}
,
{"start" :"2009-03-14T08:00:00+00:00","end" 
:"2009-03-18T08:00:00+00:00","instant" :
"false","title" :
"first","color" :"#00C166","trackNum" :"1","description" : "one"}
,
{"start" :"2009-03-15T08:00:00+00:00","end" 
:"2009-03-18T08:00:00+00:00","instant" :
"false","title" :
"third","color" :"red","trackNum" :"3","description" : "three"}
]}

Trying to picture this you will have the normal band with the bars
like :

green
blue
red

and in the overview band :
red
green
blue


Can you check this ?
Thanks
JC

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to