Added path view on GUI
diff --git a/web/js/controller-status.js b/web/js/controller-status.js
index 75cc5cc..1cca38f 100644
--- a/web/js/controller-status.js
+++ b/web/js/controller-status.js
@@ -24,6 +24,15 @@
attr("height", 50);
d3.json(data_source, draw);
+ setInterval(function() {
+ $.ajax({
+ url: data_source,
+ success: function(json) {
+ draw(json)
+ },
+ dataType: "json"
+ });
+ }, 5000);
function draw(json){
// var data = json.data;
@@ -159,15 +168,6 @@
cassandra_rect.exit().remove();
cassandra_text.exit().remove();
- setInterval(function() {
- $.ajax({
- url: data_source,
- success: function(json) {
- draw(json)
- },
- dataType: "json"
- });
- }, 3000);
}
/*
$("#more").click( function() {