facamach / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

TIMELINE: v2 Event layout should place earlier events on higher tracks #10

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Use current SVN (r1563)
2. Include overlapping period events, or look at JFK example.

What is the expected output? 

Event 1
   Event 2
       Event 3

What do you see instead?

       Event 3
   Event 2
Event 1

(ie later events end up on higher tracks)

What version of the product are you using? 

SVN r1563.  The currently hosted MIT version doesn't do this.

On what operating system?

OS X 10.5 FF 3

Please provide any additional information below.

On the mailing list LarryK suggested that it was related to the changes
from v1 to v2, as discussed in these email threads.

http://groups.google.com/group/simile-widgets/browse_thread/thread/76d0e3469d6b7
858

http://groups.google.com/group/simile-widgets/browse_thread/thread/e2333616479dc
63d/

Original issue reported on code.google.com by jameshow...@gmail.com on 14 Sep 2008 at 6:38

GoogleCodeExporter commented 8 years ago
Added subject prefix

Original comment by larryklu...@gmail.com on 25 Sep 2008 at 5:25

GoogleCodeExporter commented 8 years ago

Original comment by stefano.mazzocchi@gmail.com on 25 Mar 2009 at 7:01

GoogleCodeExporter commented 8 years ago
I believe that if the data set is sorted into reverse chronological order 
(latest 
event first), then you'll get behavior similar to the request.

This issue is related to the automatic layout code. At this time, there is no 
plan to 
add the requested enhancement.

Original comment by larryklu...@gmail.com on 30 Mar 2009 at 7:58

GoogleCodeExporter commented 8 years ago
This is also happening in the JFK demo on the main web page. For my company's 
use of
Timeline, I have tried reversing the order that I print events into the XML and 
it
makes no difference.

Original comment by daniel.white on 6 May 2009 at 1:54

GoogleCodeExporter commented 8 years ago
look for ReverseIterator in original-painter and remove the "Reverse" :)

Original comment by johannes...@gmail.com on 13 Mar 2012 at 11:07

GoogleCodeExporter commented 8 years ago
Setting trackNum will set the events in a specific track. So you could set 
Event1.trackNum = 1 and so on. However, this will also cause all the events to 
stack if you go 1...n

Original comment by blankens...@gmail.com on 29 Mar 2012 at 9:48