/home/techb158/ileadtechnology.com/public/admin/bower_components/Flot/examples/ajax
NameSizeModeActions
data-eu-gdp-growth-1.json730644editdlrm
data-eu-gdp-growth-2.json990644editdlrm
data-eu-gdp-growth-3.json1250644editdlrm
data-eu-gdp-growth-4.json1510644editdlrm
data-eu-gdp-growth-5.json1770644editdlrm
data-eu-gdp-growth.json1770644editdlrm
data-japan-gdp-growth.json1710644editdlrm
data-usa-gdp-growth.json1670644editdlrm
index.html43330644editdlrm
Edit: /home/techb158/ileadtechnology.com/public/admin/bower_components/Flot/examples/ajax/index.html (4333B)
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.