Using attribute data-widget-load="widget-ajax2.php" we can specify source of AJAX loading data, using with data-widget-refresh="15" we can force widget load content automatically every 15 seconds. This example of Donut FlotChart with get dummy data from Java Script every 15 seconds.