[Simile-Widgets] [Timeline] Auto width band automatically go to vertical center

2011-09-29 Thread Belfo
Hello, i'm trying timelito to use in a project to show log activity. Every day lot of log a present, so i put the timeline to be autowidth. (i also put the mouse wheel scroll to default) This work no problem. But i have a strange effect. when i move on the band with the mouse, and release the

[Simile-Widgets] Updating timeline during scroll

2011-09-29 Thread Belfo
Hello all, i have too many log to show on timeline, so i decided to load only logs around the center date. This work. Now i want to load event as the user scroll on the line. I put a on scroll event in the onload function var b1=tl.getBand(1); b1.addOnScrollListener(updateData()); And defined

[Simile-Widgets] Jalali Calendar

2011-09-29 Thread Behrooz Afghahi
Hi, I wanted to extend the timeline code to also support Jalali Calendar. what I need to do is to alter the presentation of the time to render dates, months, ... in Jalali. the back end is not important at this time, everything can be handled in Gregorian and get converted to jalali before

Re: [Simile-Widgets] Jalali Calendar

2011-09-29 Thread Stephen Boyd Davis
Behrooz This was posted in reply to a question of mine in August (hope it helps): On Aug 23, 5:04 pm, Michael Nosal mno...@mitre.org wrote: Timeline comes with support for Gregorian calendar support. Other calendars would require you to write custom javascript, namely an EtherPainter and a

[Simile-Widgets] Timeline zooming performance

2011-09-29 Thread cederlof
Hi! Regarding zoom-performance. I have about 40 bands synced together with both zooming and panning. When panning all elements are moved by changing their emlt.left (or .top) position. However on zooming, from what I can tell, all elements are recreated for each zoom step. A much better solution

[Simile-Widgets] Re: Updating timeline during scroll

2011-09-29 Thread Belfo
I progressed putting this code: var tl; var eventSource = new Timeline.DefaultEventSource(0); var eventSource2 = new Timeline.DefaultEventSource(0); function onLoad() { var theme1 = Timeline.ClassicTheme.create();

[Simile-Widgets] Need to create custom facet

2011-09-29 Thread Ani
Hi all, I wanted to create custom facet .. For e.g. want to render entries of one facet in the form of pie chart , or bar chart .. or any other format... Also the chart I am using are interactive .. so if I click on any pie of that chat it should re-render my other facets. Any suggestions ...

Re: [Simile-Widgets] Timeline zooming performance

2011-09-29 Thread Michael Nosal
When panning the timeline, your mouse drag moves the div for the band by updating its left and/or top position. Timeline does not adjust the position of every element within a band - that is handled by the browser's DOM rendering. When zooming, duration events will change size, and all events

Re: [Simile-Widgets] Re: Updating timeline during scroll

2011-09-29 Thread Michael Nosal
You are on the right track, but the problem is that the onScrollListener gets called every time your Timeline moves a single pixel. You want this function to do nothing unless absolutely necessary. For example, your ajax request is asking test.php for new data for an entire day. You want to

[Simile-Widgets] Timeline event source - works with Internet Explorer, not with FireFox

2011-09-29 Thread Robert
In initial testing of my timeline Javescript I wrote var WebHandler = Example.xml tl.loadXML(WebHandler, function (xml, url) { eventSourceFamily.loadXML(xml, url) }); This worked fine with both Firefox and Internet Explorer. I then changed the assignment to var WebHandler =