Best way to implement a strip chart?

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jahjeremy
Posts: 31
Joined: Tue Sep 25, 2012 2:49 am
antibot: No, of course not.

Best way to implement a strip chart?

Post by jahjeremy » Tue Sep 24, 2013 9:12 pm

Hello, everyone.

I had a general question before I get going on a new project. What is the best strategy for implementing a strip chart using JFreeChart? Basically, data values are plotted on the Y axis and time on X. It should "roll" to the right as data values are added in real time. I think typically this is called a "strip chart".

I have seen some examples of doing this using JFreeChart on the web (unofficial). I just wanted to ask the experts what is the best combination of classes in the toolkit to use for this right now in terms of dataset types, renderers, plot classes, etc.

Any special considerations or gotchas?

Thank you!

John Matthews
Posts: 513
Joined: Wed Sep 12, 2007 3:18 pm

Re: Best way to implement a strip chart?

Post by John Matthews » Tue Sep 24, 2013 10:14 pm

Two approaches are examined here: TimeSeriesCollection and DynamicTimeSeriesCollection.

Locked