--- a/busui/owa/modules/base/js/includes/jquery/flot/examples/ajax.html +++ b/busui/owa/modules/base/js/includes/jquery/flot/examples/ajax.html @@ -1,1 +1,144 @@ + + + + + Flot Examples + + + + + + +

Flot Examples

+
+ +

Example of loading data dynamically with AJAX. Percentage change in GDP (source: Eurostat). Click the buttons below.

+ +

The data is fetched over HTTP, in this case directly from text + files. Usually the URL would point to some web server handler + (e.g. a PHP page or Java/.NET/Python/Ruby on Rails handler) that + extracts it from a database and serializes it to JSON.

+ +

+ - + data - + +

+ +

+ - + data - + +

+ +

+ - + data - + +

+ +

If you combine AJAX with setTimeout, you can poll the server + for new data.

+ +

+ +

+ + + + + +