RE: building dynamic charts in wicket

2011-05-10 Thread Hielke Hoeve
Hey Daku,

Emond and I have been working on 2 little projects to render charts.
Each use a different jQuery plugin to draw the graphs client side and
both use WiQuery to facilitate the server side part. Maybe those
projects can help you in choosing the desired product. Both come with
examples, simply use Start.java to start the test webapplication.

https://github.com/hielkehoeve/wiquery-jqplot
https://github.com/hielkehoeve/wiquery-highcharts

Note that both projects only support ajax updating by redrawing the
chart from scratch.

Regards,

Hielke


-Original Message-
From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com] 
Sent: maandag 9 mei 2011 15:43
To: users@wicket.apache.org
Subject: Re: building dynamic charts in wicket

Thanks for the prompt reply!

In the given scenario, the charts on the central web application
reflects the status of the individual machines which either shown as a
mashes of the charts which are suppose to be hosted on the individual
machines.
Alternatively, the metrics could bepushed directly to the central
wicket application or pulled periodically through some remote interface,
which (the central app) then can generate the chart - event based.

The former approach is lightweight but latter has some merits as well
(probably).

While on hunt, I have found the following two links. But unsure if the
libraries are fresh enough to be  consumed :)

wicket mashup
http://code.google.com/p/wicket-mashup/

from the Wicket stuff source base
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/googlecha
rts-parent/googlecharts-examples/src/main/java/org/wicketstuff/googlecha
rts/examples

Daku

On Mon, May 9, 2011 at 2:41 PM, Wilhelmsen Tor Iver
toriv...@arrive.nowrote:

 Sounds like a combo of a dynamic image resource component (using e.g.
 JFreeChart or the like) and an AjaxSelfUpdatingTimerBehavior is
needed.

 mvh
 - Tor Iver Wilhelmsen, Arrive AS

 -Original Message-
 From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com]
 Sent: 9. mai 2011 14:32
 To: users@wicket.apache.org
 Subject: building dynamic charts in wicket

 Hi,

 I would like add an extra page to my Web application which shows a 
 graph similar to jconsole or google charts (displaying time series 
 analysis). It is required to be dynamic in nature which means the 
 graph should update itself (using wicket ajax) as soon as the new new 
 readings/metrics are available. Are there any efforts have been made 
 so far relevant to this direction?

 cheers
 Daku

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org



-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: building dynamic charts in wicket

2011-05-09 Thread Martin Makundi
You mean regular ajax or ajax push
(http://www.mail-archive.com/users@wicket.apache.org/msg49259.html)?

**
Martin

2011/5/9 lambdad...@gmail.com lambdad...@googlemail.com:
 Hi,

 I would like add an extra page to my Web application which shows a graph
 similar to jconsole or google charts (displaying time series analysis). It
 is required to be dynamic in nature which means the graph should update
 itself (using wicket ajax) as soon as the new new readings/metrics are
 available. Are there any efforts have been made so far relevant to this
 direction?

 cheers
 Daku


-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



RE: building dynamic charts in wicket

2011-05-09 Thread Wilhelmsen Tor Iver
Sounds like a combo of a dynamic image resource component (using e.g. 
JFreeChart or the like) and an AjaxSelfUpdatingTimerBehavior is needed.

mvh
- Tor Iver Wilhelmsen, Arrive AS

-Original Message-
From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com] 
Sent: 9. mai 2011 14:32
To: users@wicket.apache.org
Subject: building dynamic charts in wicket

Hi,

I would like add an extra page to my Web application which shows a graph
similar to jconsole or google charts (displaying time series analysis). It
is required to be dynamic in nature which means the graph should update
itself (using wicket ajax) as soon as the new new readings/metrics are
available. Are there any efforts have been made so far relevant to this
direction?

cheers
Daku

-
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org



Re: building dynamic charts in wicket

2011-05-09 Thread lambdad...@gmail.com
Thanks for the prompt reply!

In the given scenario, the charts on the central web application reflects
the status of the individual machines which either shown as a mashes of the
charts which are suppose to be hosted on the individual machines.
Alternatively, the metrics could bepushed directly to the central wicket
application or pulled periodically through some remote interface, which (the
central app) then can generate the chart - event based.

The former approach is lightweight but latter has some merits as well
(probably).

While on hunt, I have found the following two links. But unsure if the
libraries are fresh enough to be  consumed :)

wicket mashup
http://code.google.com/p/wicket-mashup/

from the Wicket stuff source base
https://github.com/wicketstuff/core/tree/master/jdk-1.5-parent/googlecharts-parent/googlecharts-examples/src/main/java/org/wicketstuff/googlecharts/examples

Daku

On Mon, May 9, 2011 at 2:41 PM, Wilhelmsen Tor Iver toriv...@arrive.nowrote:

 Sounds like a combo of a dynamic image resource component (using e.g.
 JFreeChart or the like) and an AjaxSelfUpdatingTimerBehavior is needed.

 mvh
 - Tor Iver Wilhelmsen, Arrive AS

 -Original Message-
 From: lambdad...@gmail.com [mailto:lambdad...@googlemail.com]
 Sent: 9. mai 2011 14:32
 To: users@wicket.apache.org
 Subject: building dynamic charts in wicket

 Hi,

 I would like add an extra page to my Web application which shows a graph
 similar to jconsole or google charts (displaying time series analysis). It
 is required to be dynamic in nature which means the graph should update
 itself (using wicket ajax) as soon as the new new readings/metrics are
 available. Are there any efforts have been made so far relevant to this
 direction?

 cheers
 Daku

 -
 To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
 For additional commands, e-mail: users-h...@wicket.apache.org