[aida] Comet pattern explained on our website
Rob Rothwell
r.j.rothwell at gmail.com
Tue Mar 3 23:07:24 CET 2009
Ok...so I found AidaCharts...very nice...but it will not display if I do
something like:
liveContent
|e|
self session lastRequest isAjaxRequest ifTrue: [self waitForAnyChange].
e:=WebElement new.
e addText: self textToDisplay.
e addBreak; addBreak.
e add: self liveChart.
^e
Where liveChart just produces a simple, static chart for now:
liveChart
|e chart|
e := WebElement new.
chart := WebChart new addData: {1 at 2. 2 at 3. 3 at 4. 4 at 5}.
e add: chart.
^e.
I think I do not understand something about Ajax!
Rob
On Tue, Mar 3, 2009 at 4:33 PM, Rob Rothwell <r.j.rothwell at gmail.com> wrote:
> On Tue, Mar 3, 2009 at 4:04 PM, Janko Mivšek <janko.mivsek at eranova.si>wrote:
>
>> Rob Rothwell pravi:
>>
>> > Thanks everyone for the help!
>> > It seems to be working just fine...
>>
>> Already? Well, that's quick! So you have your project over the biggest
>> obstacle now?
>
>
> ;)
>
> Well...next I'll be asking nico questions about graphing!
>
> We have some heavy-duty computing that we need to do as a separate process
> to predict capacity, staffing, etc..., and we want the display to update
> automatically.
>
> For now we just wanted to do some simulations using historical data (say
> where every minute represents a day, or something like that...), but build
> the app to handle real time data.
>
> So...histograms, anyone? Point me in the right direction??? I know I saw
> some stuff nico had done a while back...
>
> Thank you for the help!
>
> Rob
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20090303/34fb7f7c/attachment.htm
More information about the Aida
mailing list