Updating charts dynamically

Share RGraph:   To help my Google visibility (it can't get much worse!), if you like and use RGraph I'd appreciate it if you could link to me

« Back to message list

Enter your email address to get email updates on this topic. You can stop receiving updates by clicking the link in the update email messages.

Posted by Vincent D on 28th February 2013
Reaching out for clues. I have successfully used an ADODB connection to a process information server (OSIsoft PI server) and created a line graph, but what I really want to accomplish is a line chart that updates dynamically similar to the one found at: www.rgraph.net/docs/updating-charts-dynamically.html

The challenge I am facing is the example above uses a random generator and not an external database, AJAX or other type of connection.

Has anyone accomplished this and if so can you show me that piece of code to replace the random generator piece in the above example?

BTW: RGraph.net is GREAT!
Posted by RGraph support on 28th February 2013
Hi there,

There's an example of using AJAX to get new data here:


It doesn't do exactly what you want - but shows you the principle and can be easily modified.

Richard, RGraph Support

1 Year Priority Support now reduced to £299:

Add a reply

« Back to message list