views:

37

answers:

2

What is the best solution for charts that refresh 5+ times a second? I'll even drop that to once every 1-5 seconds if I can get charts that don't "blink" when redrawing.

I'm willing to use any technology, but considering the application already uses WebSockets you can recommend just about anything and it can be used.

+4  A: 

Have you looked at flot?

The "poll for data" example on this page may be what you're looking for: http://people.iola.dk/olau/flot/examples/ajax.html

Dave Ward
I tried Flot previously, didn't like it at all. I will give it another try though.
Josh K
Great contribution Dave +1
SDReyes
+1  A: 

http://developer.yahoo.com/yui/assets/yuilib.jpg

The YUI Charts Control provides built-in support for iterative polling for data over XHR using an XHR DataSource instance

SDReyes
That would work great, but incoming data is evented not polled for.
Josh K
@Josh: so do you already have a Pub-Sub pattern here?
SDReyes
@SDReyes: Yes that is already laid out.
Josh K