frinellkd / simile-widgets

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

TIMELINE. the layout part doesn't exist anymore in the timeline trunk #205

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I was used to use the timeline.js that is here:
http://simile.mit.edu/timeline/api/scripts/timeline.js
I have followed exactly the tutorial and everything was fine.

To be able to use the recent IE fixes, we decided to switch to the trunk of
timeline, and I noticed that all the layout part has disappeared. I can't
use anymore the following:
bandInfos[1].eventPainter.setLayout(bandInfos[0].eventPainter.getLayout());

What is the new way of setting up the layout on the bands?

Thanks
Lucie

[Submitted by Lucie Lejard on simile.mit.edu]

David F. Huynh - 06/Sep/07 02:01 PM
Could you see if

http://simile.mit.edu/repository/timeline/trunk/src/webapp/examples/jfk/jfk.html
resembles what you want? If so, please take a look at its HTML code. The
setting
  overview: true
is used for removing the event text labels in the bottom band.
[ Show » ]
David F. Huynh - 06/Sep/07 02:01 PM Could you see if  
http://simile.mit.edu/repository/timeline/trunk/src/webapp/examples/jfk/jfk.html
resembles what you want? If so, please take a look at its HTML code. The
setting   overview: true is used for removing the event text labels in the
bottom band.

[ Permlink | « Hide ]
John Michaels - 06/Jan/08 03:43 AM
I ran into same issue and the "overview: true" worked for me.
[ Show » ]
John Michaels - 06/Jan/08 03:43 AM I ran into same issue and the "overview:
true" worked for me.

[ Permlink | « Hide ]
Peter Debik - 18/Jan/08 08:06 AM
It is correct that the overview:true is a workaround, but it does not
actually copy the layout. The problem still persists that the small tags in
the lower band are all in a single row and not distributed over several
rows as they are in the API example in the documentation.

How can the small "no text" overview markers be split up into several rows
so that they resemble the same layout as the real markers to in the upper band?

Original issue reported on code.google.com by GabrielR...@googlemail.com on 7 Apr 2009 at 2:49

GoogleCodeExporter commented 9 years ago
The overview:true did work, but the event text is being show. I tried using
showEventText: false to hide it, but that isn't working for some reason.

Original comment by lastpix...@gmail.com on 17 Jun 2009 at 6:41