Display moving graphs in web-app

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
its_vippy
Posts: 12
Joined: Thu Nov 18, 2004 9:55 am
Contact:

Display moving graphs in web-app

Post by its_vippy » Mon Sep 05, 2005 10:30 am

Hi,
I want to display a cpu/memory trace (same as in windows taskbar)
in my web-application using the moving time-series chart (which seems to be obvious choice).
Graph has to be updated every 10 secs or so.
How can i do that ?

One line i was thinking is that every 10 secs i call reload of page using "HTTP" header or _javascript and will create the new chart images and display them.

Is any more efficient way to do this ?

david.gilbert
JFreeChart Project Leader
Posts: 11734
Joined: Fri Mar 14, 2003 10:29 am
antibot: No, of course not.
Contact:

Post by david.gilbert » Mon Sep 05, 2005 10:50 am

Sounds like an applet would be ideal. Except that 85% of your users probably use the one browser (MS Internet Explorer) that doesn't support Java very nicely. Try to convince them to upgrade to Firefox.
David Gilbert
JFreeChart Project Leader

:idea: Read my blog
:idea: Support JFree via the Github sponsorship program

its_vippy
Posts: 12
Joined: Thu Nov 18, 2004 9:55 am
Contact:

Post by its_vippy » Mon Sep 05, 2005 11:54 am

Don't know much about applets.
I have always relied on servlets/JSP's.

And in this case If i run a applet how can i get the new data from the server ?

Locked