You may be interested in trying Fleet . Flot is a clean, open source javascript library for jQuery . It creates graphs of arbitrary data sets on the fly on the client side.
First of all, check out the following example, which uses data extracted through AJAX to plot a chart in real time:
AJAX :
function fetchData() {
function onDataReceived(series) {
data = [ series ];
$.plot($("#placeholder"), data, options);
}
$.ajax({
url: "data_feed.php",
method: "GET",
dataType: "json",
success: onDataReceived
});
setTimeout(fetchData, 1000);
}
Flot Reputation .
:
