RE: [PHP] dynamic graphs (in real time)
| From: | Wakan | Date: | Sat, 03 May 2003 17:00:58 +0000 |
| Subject: | RE: [PHP] dynamic graphs (in real time) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-146288@lists.php.net to get a copy of this message | ||
Yes,
but the frequency I need is inferior to 1 sec.
Is there something like opening a connection
with the server without closing it, and update
the image continuously?
but without flickering problems...
At 12.50 03/05/2003 -0400, you wrote:
Why not have a php cron job that runs every x seconds and creates a new gif of the graph, then your page can use javascript to reload the image every x seconds -----Original Message----- From: Wakan [mailto:porcapuzza@yahoo.it] Sent: Saturday, May 03, 2003 12:50 PM To: php-general@lists.php.net Subject: [PHP] dynamic graphs (in real time) I'm writing an application that reads data from some serial sensor. I'd like to generate a graph (I'm using the jpgraph) from that data and display it in real time. The question is: how can I show data while they're changing ? I've tried to reload the browser each seconds, but it's not so elegant (I don't want to reload the entire page) and I need to display data more frequently. Some ideas? Carlo -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php