A simpler method would be to just redirect back to the same page every 30
seconds, say with this:
location.href=mypage.htm
A nicer method that doesn't waste as much internet traffic and server usage
would be to grab a json packet of data every 30 seconds and then redraw the
graph from scratch. Into the same div! Don't make a new div every time
with this weird c variable.
I have code that redraws flotr graphs 10 times per second. It works fine -
flotr is pretty fast even on slow machines.
- George Roberts
http://gr5.org
--------------------------------------------------
From: "Mike B" <mbbo...@gmail.com>
Sent: Tuesday, August 24, 2010 10:20 PM
To: "Flotr Javascript Plotting Library" <fl...@googlegroups.com>
Subject: Flotr.draw in a loop
> --
> You received this message because you are subscribed to the Google Groups
> "Flotr Javascript Plotting Library" group.
> To post to this group, send email to fl...@googlegroups.com.
> To unsubscribe from this group, send email to
> flotr+un...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/flotr?hl=en.
>
>