The text is actually the text content, the url is, AFAICT, merely for doing rdf-ish things with converting scalar id strings to urls, so 'foo' becomes something like http://my.domain.tld/where/my/plot/is/index.html#foo. I never passed anything for filter, just did
loadText(content, document.location) Axel 2008/2/7, ChazZ S <[EMAIL PROTECTED]>: > > > Does nobody know what the parameters for DefaultEventSource.loadText(text, > separator, url, filter) mean, namely the first "text" parameter? I figure > that the url parameter is the url you give for the data, but what is the > text parameter? Is that the function one uses to dyanmically update a plot > without having to create a new one every time? I have tried the > DefaultEventSource.loadText() function and it does not seem to have an > effect on the plot even if i do an update and/or a repaint, nothing changes. > > -ChazZ > ever wonder if a word, when misused so many times, could lose all of its > meaning? > now thats ironic... > > > > ----- Original Message ---- > From: ChazZ S <[EMAIL PROTECTED]> > To: General List <general@simile.mit.edu> > Sent: Tuesday, February 5, 2008 3:55:36 PM > Subject: dynamically update plot > > > > I am attempting to update a plot with live data using setInterval() JS > function. Would it be best to do a plot.loadText() or an > DefaultEventSource.loadText()? the JSDoc is not very good in that it does > not describe what parameters are for. the DefaultEventSource.loadText() > function takes a text file and a URL? what is that first text parameter > for? > > When doing successive loads does the plot automatically re-evaluate the > geometries and labeling? > > thanks for the help > > -ChazZ > > ever wonder if a word, when misused so many times, could lose all of its > meaning? > now thats ironic... > > > ________________________________ > Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it > now. > > > -----Inline Attachment Follows----- > > _______________________________________________ > General mailing list > General@simile.mit.edu > http://simile.mit.edu/mailman/listinfo/general > > > ________________________________ > Looking for last minute shopping deals? Find them fast with Yahoo! Search. > _______________________________________________ > General mailing list > General@simile.mit.edu > http://simile.mit.edu/mailman/listinfo/general > > _______________________________________________ General mailing list General@simile.mit.edu http://simile.mit.edu/mailman/listinfo/general