I don't think that I will be able to write a full wiki with all the 
changes, 
Since i needed to download the code, make my change, recompile, and use a 
local instance instead of the one hosted by MIT and that those diff files 
totally wreck the space optimizing algorithm,
it won't be a good thing to put that on the wiki.



 here are the svn diff files for both timeline and exhibit projects






Then for each item in your json files, you should add a "categorie" (in 
french sorry) field
 
        {
           [
        ...
        category:1,
        ...
           ]
     }

where the number would represent the stream number on the timeline.
and a new type 
'categorie': {
         valueType: "number",
         label: "categorie" } 
                   }

I cannot help too much: i'm really a begginner with Javascript and all 
those ajax Framework


[EMAIL PROTECTED] wrote on 24/04/2007 15:46:45:

> Olivier,
> 
> It'd be great if you can write down what you did on our wiki somewhere 
> so other people can do the same... Thanks.
> 
> David
> 
> [EMAIL PROTECTED] wrote:
> > [EMAIL PROTECTED] wrote on 19/04/2007 19:42:42:
> >
> > 
> >> [EMAIL PROTECTED] wrote:
> >> 
> >>> This example was given to somebody who asked to starter point to 
begin 
> >>> 
> > to 
> > 
> >>> developp a Gantt view.
> >>> The only visible added functionality on this one is the multiple 
band 
> >>> 
> > to 
> > 
> >>> navigate (day, week, quarter).
> >>>
> >>> From what i understood, the packing of the events is done in the 
> >>> layoutEvent function 
> >>> in the Timeline.StaticTrackBasedLayout.prototype._layout class
> >>>
> >>> I will try to create another layout which doesn't pack the layout 
but 
> >>> 
> > the 
> > 
> >>> difficulty would be to transmit the category data trough
> >>> all the layers (i think i will need to modify the event class too).
> >>>
> >>> 
> >> You do need to override Exhibit's code to split events into different 

> >> eventSource's, which are then fed into different bands. You can't 
just 
> >> override Timeline's code.
> >>
> >> The code for the views in Exhibit 1.0 is not so well factored, so 
it'd 
> >> be hard to dig through. Exhibit 2.0's views have been refactored, but 

> >> 2.0 is still in development and will be under constant changes.
> >>
> >> David
> >> 
> >
> > Ok i managed to do it.
> > Just had to create a "category" element (with a number type) and 
> > implements a getCategorie in some js files
> > to transmit it trough all the layers then i replace the streamIndex 
from 
> > the following code in the layout.js
> >
> > for (; streamIndex < streams.length; streamIndex++) {
> >             if (streams[streamIndex] < startPixel) {
> >                 break;
> >             }
> >         }
> >
> > by my category item
> >
> >
> > This is a little dirty but now i can pinpoint the stream where i want 
to 
> > put my event.
> > The only problem left is that i have no more checking of the unicity 
of an 
> > event on a stream.
> > But i can accomodate myself with that if i do the check directly on 
the 
> > data.
> >
> > But I still enjoying the speed at which i created this timeline..
> >
> >
> >
> > 
*************************************************************************
> > This message and any attachments (the "message") are confidential 
> and intended solely for the addressee(s).
> > Any unauthorised use or dissemination is prohibited. E-mails are 
> susceptible to alteration. 
> > Neither SOCIETE GENERALE nor any of its subsidiaries or affiliates
> shall be liable for the message if altered, changed or
> > falsified.
> >                               ************
> > Ce message et toutes les pieces jointes (ci-apres le "message") 
> sont confidentiels et etablis a l'intention exclusive de ses
> > destinataires. Toute utilisation ou diffusion non autorisee est 
> interdite. Tout message electronique est susceptible d'alteration. 
> > La SOCIETE GENERALE et ses filiales declinent toute responsabilite
> au titre de ce message s'il a ete altere, deforme ou falsifie.
> > 
*************************************************************************
> > _______________________________________________
> > General mailing list
> > [email protected]
> > http://simile.mit.edu/mailman/listinfo/general
> > 
> 
> _______________________________________________
> General mailing list
> [email protected]
> http://simile.mit.edu/mailman/listinfo/general

Attachment: timeline.patch
Description: Binary data

Attachment: exhibit.patch
Description: Binary data

_______________________________________________
General mailing list
[email protected]
http://simile.mit.edu/mailman/listinfo/general

Reply via email to