Reputation: 1461
I'm trying to plot the system CPU utilization in a JSP page.
I'm using JFreeChart library to do so, I have a problem,
The generation of the graph I've written in a Servlet and that generates an image, so on the JSP page it flickers and reloads the image.
Is there a better way to implement it as I want to see a continuous flowing graph and not an image?
NOTE: I'm using ajax call to the servlet.
Upvotes: 1
Views: 1851
Reputation: 22884
Are you opposed to delivering the chart as an applet, say as outlined here?
Upvotes: 0
Reputation: 205785
Another alternative is a Java Web Start application that queries the servlet for updates.
Upvotes: 0