m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/src/main/resources/pl/edu
diff options
context:
space:
mode:
authorMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-11 17:53:41 +0100
committerMarcin Chrzanowski <marcin.j.chrzanowski@gmail.com>2020-01-11 17:53:41 +0100
commit0a26fd04d8d87e6e98b014bcb906bd9275dc7f78 (patch)
tree3785889215f09c084c25c581a251618617e0b783 /src/main/resources/pl/edu
parentf055032fa683ab1cb1e92627849eb9fa7eeed903 (diff)
parent2b8b0560346fe7e55c293550efb003d9bd25db98 (diff)
Merge branch 'master' into start-gossip-girl
Diffstat (limited to 'src/main/resources/pl/edu')
-rw-r--r--src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
index 841d995..bfb306c 100644
--- a/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
+++ b/src/main/resources/pl/edu/mimuw/cloudatlas/client/templates/attribChart.html
@@ -7,17 +7,16 @@
<link rel="preload" href="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js" as="script">
<link rel="preload" href="https://www.gstatic.com/charts/loader.js" as="script">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
- <script async type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
- <script async type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
+ <script async defer type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
+ <script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart', 'table', 'controls', 'charteditor']});
- google.charts.setOnLoadCallback(refreshChart());
+ google.charts.setOnLoadCallback(refreshChart);
var chartState = [];
function refreshChart() {
- setTimeout(getData(), 500);
- setTimeout(getData(), 1500);
+ getData();
setInterval(getData, 5000);
}