Periodically update the slices in the dashboard (#374)

* Periodically update the slices in the dashboard

* Make the refresh interval changeable

* Add the button and the modal for the user to change the refresh interval

* Don't use callback for refreshing

* Randomize to prevent all widgets refreshing at the same time

* Show the loading icon as an overlay when the slices refresh
This commit is contained in:
x4base
2016-04-20 17:35:07 -07:00
committed by Maxime Beauchemin
parent 9a33557112
commit d8a2b621d8
7 changed files with 174 additions and 104 deletions

View File

@@ -35,7 +35,7 @@ function tableVis(slice) {
maxes[metrics[i]] = d3.max(col(metrics[i]));
}
var table = d3.select(slice.selector).append('table')
var table = d3.select(slice.selector).html('').append('table')
.classed('dataframe dataframe table table-striped table-bordered table-condensed table-hover dataTable no-footer', true)
.attr('width', '100%');