I'm looking for a Java based graphing tool that is similar to the Performance tab of the Windows Task Manager that can show continuous updates (for instance, every second) of data. Is this something JFreeChart is capable of doing? If so, where would I start?
Thanks for any info you can provide.
Realtime graphing on a web page
Re: Realtime graphing on a web page
Hi kakin!
Yes it is possible! There is a similiar example with the paid documentation.
You can create a thread that adds values to the chart dataset. Every time a value is added, the chart will automatically be updated.
Regards,
Eduardo
Yes it is possible! There is a similiar example with the paid documentation.
You can create a thread that adds values to the chart dataset. Every time a value is added, the chart will automatically be updated.
Regards,
Eduardo
Re: Realtime graphing on a web page
However, to get real-time updates in a web page you will either have to use an applet or get the web page to refresh itself at regular intervals to cause the graph to be redrawn. I use the second approach as I don't want the hassle of installing Java plugins on client PCs.
Rob
Rob