From 2eed7b082f83630301e51f57ca8394de228a8605 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Sun, 18 Aug 2019 21:14:58 -0500 Subject: first commit --- .../jquery/flot/examples/ajax/index.html | 173 +++++++++++++++++++++ 1 file changed, 173 insertions(+) create mode 100644 public/admin/view/javascript/jquery/flot/examples/ajax/index.html (limited to 'public/admin/view/javascript/jquery/flot/examples/ajax/index.html') diff --git a/public/admin/view/javascript/jquery/flot/examples/ajax/index.html b/public/admin/view/javascript/jquery/flot/examples/ajax/index.html new file mode 100644 index 0000000..35ce10d --- /dev/null +++ b/public/admin/view/javascript/jquery/flot/examples/ajax/index.html @@ -0,0 +1,173 @@ + + + + + Flot Examples: AJAX + + + + + + + + + + +
+ +
+
+
+ +

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.

+ +

+ + [ see data ] + +

+ +

+ + [ see data ] + +

+ +

+ + [ see data ] + +

+ +

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

+ +

+ +

+ +
+ + + + + -- cgit v1.2.3