I want to have charts in my Swing application that show a wide variety of data--but the data for each chart will be constantly changing.
A good analogy to how my data will be behaving is how the the system's free and used memory will (likely) go up and down throughout the course of the application running. A good analogy of how I want the graph to look is the CPU usage graph in the Windows task manager (don't mean the specific colors and grid, but more the way the line graph looks).
What is the best way to generate charts where I will constantly be "appending" new data points. Is the best way to append these points at regular time intervals?
Also, what charting/graphing API should I use? I would like to keep dependencies as small as possible, but I accept that they are probably necessary.
tl;dnr: I want to make a chart like the CPU Usage History in Task Manager, but in Java, for Swing.